Package ghidra.app.plugin.match

# Class ExactInstructionsFunctionHasher

java.lang.Object
ghidra.app.plugin.match.AbstractFunctionHasher
ghidra.app.plugin.match.ExactInstructionsFunctionHasher

All Implemented Interfaces:
  `FunctionHasher`

Direct Known Subclasses:
  `ExactMnemonicsFunctionHasher`

public class ExactInstructionsFunctionHasher extends AbstractFunctionHasher

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected MessageDigest`
  `digest`
  `static final ExactInstructionsFunctionHasher`
  `INSTANCE`

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `ExactInstructionsFunctionHasher()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `commonBitCount(Function funcA, Function funcB, TaskMonitor monitor)`
  `protected long`
  `hash(TaskMonitor monitor, ArrayList<CodeUnit> units, int byteCount)`

  ### Methods inherited from class ghidra.app.plugin.match.AbstractFunctionHasher

  `getAllCodeUnits, hash`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### INSTANCE

    public static final ExactInstructionsFunctionHasher INSTANCE

  - ### digest

    protected MessageDigest digest

- ## Constructor Details

  - ### ExactInstructionsFunctionHasher

    protected ExactInstructionsFunctionHasher()

- ## Method Details

  - ### commonBitCount

    public int commonBitCount(Function funcA, Function funcB, TaskMonitor monitor)

  - ### hash

    protected long hash(TaskMonitor monitor, ArrayList<CodeUnit> units, int byteCount) throws MemoryAccessException, CancelledException
    Specified by:
      `hash` in class `AbstractFunctionHasher`
    Throws:
      `MemoryAccessException`
      `CancelledException`