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
Modifier and TypeFieldDescriptionprotected MessageDigest
static final ExactInstructionsFunctionHasher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
commonBitCount
(Function funcA, Function funcB, TaskMonitor monitor) protected long
hash
(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:
hash
in classAbstractFunctionHasher
- Throws:
MemoryAccessException
CancelledException
-