Class ResponseNearest
java.lang.Object
ghidra.features.bsim.query.protocol.QueryResponseRecord
ghidra.features.bsim.query.protocol.ResponseNearest
Response to a QueryNearest request. A full description in terms of ExecutableRecords and FunctionDescriptions
is returned. The linked list of SimilarityResults explicitly describes the similarities between the functions
in the original request and the new functions being returned. A SimilarityResult cross-references
FunctionDescription objects between the request DescriptionManager and this response object's DescriptionManager
-
Field Summary
FieldsFields inherited from class ghidra.features.bsim.query.protocol.QueryResponseRecord
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmergeResults(QueryResponseRecord subresponse) Combine partial results from subresponse into this global responsevoidrestoreXml(XmlPullParser parser, LSHVectorFactory vectorFactory) voidvoidsort()Perform any preferred sorting on the result of a queryMethods inherited from class ghidra.features.bsim.query.protocol.QueryResponseRecord
getDescriptionManager, getLocalStagingCopy, getName
-
Field Details
-
totalfunc
public int totalfunc -
totalmatch
public int totalmatch -
uniquematch
public int uniquematch -
manage
-
result
-
qnear
-
-
Constructor Details
-
ResponseNearest
-
-
Method Details
-
sort
public void sort()Description copied from class:QueryResponseRecordPerform any preferred sorting on the result of a query- Overrides:
sortin classQueryResponseRecord
-
mergeResults
Description copied from class:QueryResponseRecordCombine partial results from subresponse into this global response- Overrides:
mergeResultsin classQueryResponseRecord- Parameters:
subresponse- the partial response to merge into this- Throws:
LSHException- for errors performing the merge
-
saveXml
- Specified by:
saveXmlin classQueryResponseRecord- Throws:
IOException
-
restoreXml
- Specified by:
restoreXmlin classQueryResponseRecord- Throws:
LSHException
-