Class BSimMatchResult
java.lang.Object
ghidra.features.bsim.gui.search.results.BSimMatchResult
A possible BSim function match. The similarity
of this function is scored and denoted by
similarity
. The
significance of the match is denoted by getSignificance()
.-
Constructor Summary
ConstructorsConstructorDescriptionBSimMatchResult
(FunctionDescription queriedFunction, Address addr, SimilarityNote similarityNote) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static List
<BSimMatchResult> filterMatchRows
(BSimFilter filter, List<BSimMatchResult> rows) static List
<BSimMatchResult> generate
(List<SimilarityResult> results, Program prog) getDate()
The name of the executable containing this function.getMd5()
long
The name of the input function to which this function is similar.double
The significance of the similarity of this function to the input function.long
The name of this function.double
The similarity of this function to the input function.int
hashCode()
boolean
isFlagSet
(int mask) void
setStatus
(BSimResultStatus status) toString()
-
Constructor Details
-
BSimMatchResult
public BSimMatchResult(FunctionDescription queriedFunction, Address addr, SimilarityNote similarityNote)
-
-
Method Details
-
isFlagSet
public boolean isFlagSet(int mask) -
getOriginalFunctionDescription
-
getMatchFunctionDescription
-
getAddress
-
getExecutableURLString
-
getStatus
-
setStatus
-
getOriginalFunctionName
The name of the input function to which this function is similar.- Returns:
- name of the input function to which this function is similar.
-
getOriginalFunctionAddress
public long getOriginalFunctionAddress() -
getExecutableName
The name of the executable containing this function.- Returns:
- the name of the executable containing this function.
-
getExeCategoryAlphabetic
-
getArchitecture
-
getCompilerName
-
getMd5
-
getSimilarFunctionName
The name of this function.- Returns:
- the name of this function.
-
getSimilarFunctionAddress
public long getSimilarFunctionAddress() -
getSimilarity
public double getSimilarity()The similarity of this function to the input function. This is a value from 0.0 to 1.0.- Returns:
- the similarity of this function to the input function.
-
getSignificance
public double getSignificance()The significance of the similarity of this function to the input function. This is a value that starts at 0.0, with no upper bound. Functions small in size will have a low significance score, as there is a chance that many small functions will have a similar makeup.- Returns:
- the significance of the similarity of this function to the input function.
-
getDate
-
hashCode
public int hashCode() -
equals
-
toString
-
generate
-
filterMatchRows
-