Class AddressMatch<T>

java.lang.Object
ghidra.util.bytesearch.Match<T>
ghidra.util.bytesearch.AddressMatch<T>
Type Parameters:
T - The specific implementation of the pattern that was used to create this match

public class AddressMatch<T> NEW extends Match<T>
Represents a match of a pattern at a given address in program memory.
  • Constructor Details

    • AddressMatch

      public AddressMatch(T pattern, long offset, int length, Address address)
      Constructor
      Parameters:
      pattern - the byte pattern that matched
      offset - offset within a searched buffer
      length - the length of the matching sequence
      address - the address in the program where the match occurred
  • Method Details

    • getAddress

      public Address getAddress()
      Returns:
      the address where this match occurred
    • toString

      public String toString()
      Overrides:
      toString in class Match<T>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Match<T>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Match<T>