Class NativeSignatureMatchResult
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.sig.NativeSignatureMatchResult
Result of a match, i.e. a list of
INativeSignature matching a INativeMethodItem.
Such result can be incomplete, see isComplete().
Immutable.
-
Constructor Summary
ConstructorsConstructorDescriptionNativeSignatureMatchResult(INativeMethodItem target, List<INativeSignature> signatures, boolean completeMatch, INativeSignature.ConfidenceLevel confidenceLevel) Create a native signature match result. -
Method Summary
-
Constructor Details
-
NativeSignatureMatchResult
public NativeSignatureMatchResult(INativeMethodItem target, List<INativeSignature> signatures, boolean completeMatch, INativeSignature.ConfidenceLevel confidenceLevel) Create a native signature match result.- Parameters:
target- cannot be nullsignatures- cannot be nullcompleteMatch- true if the match was computed against all applicable signaturesconfidenceLevel- result confidence level, if different fromINativeSignature.ConfidenceLevel.UNKNOWN, all signatures have this level of confidence. Cannot be null.
-
-
Method Details
-
getSignatures
Get the matching signatures.- Returns:
- matching signatures
-
getTarget
Get the matched native method item.- Returns:
- matched target item
-
isComplete
public boolean isComplete()If false indicates that the matching was not done on the whole DB, i.e. there may be more matching signatures than the ones in this result.- Returns:
- true if the match result is complete
-
getConfidenceLevel
Get the confidence level of the result.- Returns:
- confidence level, cannot be null
-
hashCode
public int hashCode() -
equals
-
toString
-