Package ghidra.program.model.correlate
Interface HashCalculator
-
- All Known Implementing Classes:
AllBytesHashCalculator,MnemonicHashCalculator
public interface HashCalculatorInterface for hashing across sequences of Instructions in different ways
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcalcHash(int startHash, Instruction inst)Calculate a (partial) hash across a single instruction
-
-
-
Method Detail
-
calcHash
int calcHash(int startHash, Instruction inst) throws MemoryAccessExceptionCalculate a (partial) hash across a single instruction- Parameters:
startHash- is initial hash valueinst- is the instruction to fold into the hash- Returns:
- the final hash value
- Throws:
MemoryAccessException
-
-