Package ghidra.app.plugin.match
Class ExactBytesFunctionHasher
- java.lang.Object
-
- ghidra.app.plugin.match.AbstractFunctionHasher
-
- ghidra.app.plugin.match.ExactBytesFunctionHasher
-
- All Implemented Interfaces:
FunctionHasher
public class ExactBytesFunctionHasher extends AbstractFunctionHasher
-
-
Field Summary
Fields Modifier and Type Field Description static ExactBytesFunctionHasher
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
commonBitCount(Function funcA, Function funcB, TaskMonitor monitor)
protected long
hash(TaskMonitor monitor, java.util.ArrayList<CodeUnit> units, int byteCount)
-
Methods inherited from class ghidra.app.plugin.match.AbstractFunctionHasher
getAllCodeUnits, hash
-
-
-
-
Field Detail
-
INSTANCE
public static final ExactBytesFunctionHasher INSTANCE
-
-
Method Detail
-
commonBitCount
public int commonBitCount(Function funcA, Function funcB, TaskMonitor monitor)
-
hash
protected long hash(TaskMonitor monitor, java.util.ArrayList<CodeUnit> units, int byteCount) throws MemoryAccessException, CancelledException
- Specified by:
hash
in classAbstractFunctionHasher
- Throws:
MemoryAccessException
CancelledException
-
-