Class MemoryBlockSearchAndReplaceHandler
java.lang.Object
ghidra.features.base.replace.SearchAndReplaceHandler
ghidra.features.base.replace.handler.MemoryBlockSearchAndReplaceHandler
- All Implemented Interfaces:
ExtensionPoint
SearchAndReplaceHandler
for handling search and replace for memory block names.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
findAll
(Program program, SearchAndReplaceQuery query, Accumulator<QuickFix> accumulator, TaskMonitor monitor) Method to perform the search for the pattern and options as specified by the given SearchAndReplaceQuery.Methods inherited from class ghidra.features.base.replace.SearchAndReplaceHandler
addType, getSearchAndReplaceTypes
-
Constructor Details
-
MemoryBlockSearchAndReplaceHandler
public MemoryBlockSearchAndReplaceHandler()
-
-
Method Details
-
findAll
public void findAll(Program program, SearchAndReplaceQuery query, Accumulator<QuickFix> accumulator, TaskMonitor monitor) throws CancelledException Description copied from class:SearchAndReplaceHandler
Method to perform the search for the pattern and options as specified by the given SearchAndReplaceQuery. As matches are found, appropriateQuickFix
s are added to the given accumulator.- Specified by:
findAll
in classSearchAndReplaceHandler
- Parameters:
program
- the program being searchedquery
- contains the search pattern, replacement pattern, and options related to the query.accumulator
- the accumulator that resulting QuickFix items are added to as they are found.monitor
- aTaskMonitor
for reporting progress and checking if the search has been cancelled.- Throws:
CancelledException
- thrown if the operation has been cancelled via the taskmonitor
-