Class MemoryMatch
java.lang.Object
ghidra.features.base.memsearch.searcher.MemoryMatch
- All Implemented Interfaces:
Comparable<MemoryMatch>
A class that represents a memory search hit at an address. Matches can also be updated with
new byte values (from a scan or refresh action). The original bytes that matched the original
search are maintained in addition to the "refreshed" bytes.
-
Constructor Summary
ConstructorDescriptionMemoryMatch
(Address address) MemoryMatch
(Address address, byte[] bytes, ByteMatcher matcher) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
byte[]
getBytes()
int
byte[]
int
hashCode()
boolean
toString()
void
updateBytes
(byte[] newBytes)
-
Constructor Details
-
MemoryMatch
-
MemoryMatch
-
-
Method Details
-
updateBytes
public void updateBytes(byte[] newBytes) -
getAddress
-
getLength
public int getLength() -
getBytes
public byte[] getBytes() -
getPreviousBytes
public byte[] getPreviousBytes() -
getByteMatcher
-
compareTo
- Specified by:
compareTo
in interfaceComparable<MemoryMatch>
-
hashCode
public int hashCode() -
equals
-
toString
-
isChanged
public boolean isChanged()
-