Package ghidra.app.plugin.match
Class ExactInstructionsFunctionHasher
java.lang.Object
ghidra.app.plugin.match.AbstractFunctionHasher
ghidra.app.plugin.match.ExactInstructionsFunctionHasher
- All Implemented Interfaces:
FunctionHasher
- Direct Known Subclasses:
ExactMnemonicsFunctionHasher
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MessageDigeststatic final ExactInstructionsFunctionHasher -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcommonBitCount(Function funcA, Function funcB, TaskMonitor monitor) protected longhash(TaskMonitor monitor, ArrayList<CodeUnit> units, int byteCount) Methods inherited from class ghidra.app.plugin.match.AbstractFunctionHasher
getAllCodeUnits, hash
-
Field Details
-
INSTANCE
-
digest
-
-
Constructor Details
-
ExactInstructionsFunctionHasher
protected ExactInstructionsFunctionHasher()
-
-
Method Details
-
commonBitCount
-
hash
protected long hash(TaskMonitor monitor, ArrayList<CodeUnit> units, int byteCount) throws MemoryAccessException, CancelledException - Specified by:
hashin classAbstractFunctionHasher- Throws:
MemoryAccessExceptionCancelledException
-