Package ghidra.util.search.memory
Class RegExMemSearcherAlgorithm
- java.lang.Object
-
- ghidra.util.search.memory.RegExMemSearcherAlgorithm
-
- All Implemented Interfaces:
MemorySearchAlgorithm
public class RegExMemSearcherAlgorithm extends java.lang.Object implements MemorySearchAlgorithm
Search memory using the provided regular expression.
-
-
Constructor Summary
Constructors Constructor Description RegExMemSearcherAlgorithm(SearchInfo searchInfo, AddressSetView searchSet, Program program, boolean searchAcrossAddressGaps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isMatchingAddress(Address address, long matchSize)
void
search(Accumulator<MemSearchResult> accumulator, TaskMonitor monitor)
Perform the search
-
-
-
Constructor Detail
-
RegExMemSearcherAlgorithm
public RegExMemSearcherAlgorithm(SearchInfo searchInfo, AddressSetView searchSet, Program program, boolean searchAcrossAddressGaps)
-
-
Method Detail
-
search
public void search(Accumulator<MemSearchResult> accumulator, TaskMonitor monitor)
Description copied from interface:MemorySearchAlgorithm
Perform the search- Specified by:
search
in interfaceMemorySearchAlgorithm
- Parameters:
accumulator
- the results accumulatormonitor
- the monitor
-
isMatchingAddress
protected boolean isMatchingAddress(Address address, long matchSize)
-
-