Package ghidra.util.search.memory

# Class RegExMemSearcherAlgorithm

java.lang.Object
ghidra.util.search.memory.RegExMemSearcherAlgorithm

All Implemented Interfaces:
  `MemorySearchAlgorithm`

public class RegExMemSearcherAlgorithm extends 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

  Modifier and Type
  Method
  Description
  `protected boolean`
  `isMatchingAddress(Address address, long matchSize)`
  `void`
  `search(Accumulator<MemSearchResult> accumulator, TaskMonitor monitor)`
  Perform the search

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RegExMemSearcherAlgorithm

    public RegExMemSearcherAlgorithm(SearchInfo searchInfo, AddressSetView searchSet, Program program, boolean searchAcrossAddressGaps)

- ## Method Details

  - ### search

    public void search(Accumulator<MemSearchResult> accumulator, TaskMonitor monitor)
    Description copied from interface: `MemorySearchAlgorithm`
    Perform the search
    Specified by:
      `search` in interface `MemorySearchAlgorithm`
    Parameters:
      `accumulator` - the results accumulator
      `monitor` - the monitor

  - ### isMatchingAddress

    protected boolean isMatchingAddress(Address address, long matchSize)