Class SymbolsSearchAndReplaceHandler
java.lang.Object
ghidra.features.base.replace.SearchAndReplaceHandler
ghidra.features.base.replace.handler.SymbolsSearchAndReplaceHandler
- All Implemented Interfaces:
ExtensionPoint
SearchAndReplaceHandler for handling search and replace for symbols. Specifically, it
provides SearchTypes for renaming labels, functions, namespaces, classes, local
variables, and parameters.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfindAll(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
-
SymbolsSearchAndReplaceHandler
public SymbolsSearchAndReplaceHandler()
-
-
Method Details
-
findAll
public void findAll(Program program, SearchAndReplaceQuery query, Accumulator<QuickFix> accumulator, TaskMonitor monitor) throws CancelledException Description copied from class:SearchAndReplaceHandlerMethod to perform the search for the pattern and options as specified by the given SearchAndReplaceQuery. As matches are found, appropriateQuickFixs are added to the given accumulator.- Specified by:
findAllin 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- aTaskMonitorfor reporting progress and checking if the search has been cancelled.- Throws:
CancelledException- thrown if the operation has been cancelled via the taskmonitor
-