Package ghidra.util.search.memory
Class MemSearchResult
java.lang.Object
ghidra.util.search.memory.MemSearchResult
- All Implemented Interfaces:
Comparable<MemSearchResult>
A class that represents a memory search hit at an address.
-
Constructor Summary
ConstructorDescriptionMemSearchResult
(Address address, byte[] bytes) MemSearchResult
(Address address, int length) -
Method Summary
-
Constructor Details
-
MemSearchResult
-
MemSearchResult
-
-
Method Details
-
getAddress
-
getLength
public int getLength() -
getBytes
public byte[] getBytes() -
compareTo
- Specified by:
compareTo
in interfaceComparable<MemSearchResult>
-
hashCode
public int hashCode() -
equals
-
toString
-
addressEquals
Returns true if the given address equals the address of this search result- Parameters:
a
- the other address- Returns:
- true if the given address equals the address of this search result
-