Interface HashCalculator

All Known Implementing Classes:
AllBytesHashCalculator, MnemonicHashCalculator

public interface HashCalculator
Interface for hashing across sequences of Instructions in different ways
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    calcHash(int startHash, Instruction inst)
    Calculate a (partial) hash across a single instruction
  • Method Details

    • calcHash

      int calcHash(int startHash, Instruction inst) throws MemoryAccessException
      Calculate a (partial) hash across a single instruction
      Parameters:
      startHash - is initial hash value
      inst - is the instruction to fold into the hash
      Returns:
      the final hash value
      Throws:
      MemoryAccessException