Package ghidra.program.model.correlate
Interface HashCalculator
-
- All Known Implementing Classes:
AllBytesHashCalculator
,MnemonicHashCalculator
public interface HashCalculator
Interface for hashing across sequences of Instructions in different ways
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
calcHash(int startHash, Instruction inst)
Calculate a (partial) hash across a single instruction
-
-
-
Method Detail
-
calcHash
int calcHash(int startHash, Instruction inst) throws MemoryAccessException
Calculate 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
-
-