Interface SearchListener
public interface SearchListener
This interface is used when searching a dump or an address space to report back when
a match is found.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
foundMatch
(AddressSpace space, long address) Called to report a match has been found.byte[]
This method determines the pattern to be searched for.
-
Method Details
-
getPattern
byte[] getPattern()This method determines the pattern to be searched for. This is called before the search begins.- Returns:
- the pattern of bytes to search for
-
foundMatch
Called to report a match has been found. The listener must return true to continue the search.- Parameters:
space
- theAddressSpace
in which the match was foundaddress
- the address where the match was found- Returns:
- true if the search is to continue
-