Package ghidra.program.model.correlate
Class AllBytesHashCalculator
java.lang.Object
ghidra.program.model.correlate.AllBytesHashCalculator
- All Implemented Interfaces:
HashCalculator
Hash function hashing all the bytes of an individual Instruction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
calcHash
(int startHash, Instruction inst) Calculate a (partial) hash across a single instruction
-
Constructor Details
-
AllBytesHashCalculator
public AllBytesHashCalculator()
-
-
Method Details
-
calcHash
Description copied from interface:HashCalculator
Calculate a (partial) hash across a single instruction- Specified by:
calcHash
in interfaceHashCalculator
- Parameters:
startHash
- is initial hash valueinst
- is the instruction to fold into the hash- Returns:
- the final hash value
- Throws:
MemoryAccessException
-