Class FindOnceTableLoader
java.lang.Object
ghidra.features.base.memsearch.gui.FindOnceTableLoader
- All Implemented Interfaces:
MemoryMatchTableLoader
Table loader for executing an incremental search forwards or backwards and adding that result
to the table.
-
Constructor Summary
ConstructorDescriptionFindOnceTableLoader
(MemorySearcher searcher, Address address, List<MemoryMatch> previousResults, ghidra.features.base.memsearch.gui.MemorySearchResultsPanel panel, boolean forward) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the search/loading did not fully complete.void
dispose()
Cleans up resourcesReturns the first match found.boolean
Returns true if at least one match was found.void
loadResults
(Accumulator<MemoryMatch> accumulator, TaskMonitor monitor) Called by the table model to initiate searching and loading using the threaded table models threading infrastructure.
-
Constructor Details
-
FindOnceTableLoader
public FindOnceTableLoader(MemorySearcher searcher, Address address, List<MemoryMatch> previousResults, ghidra.features.base.memsearch.gui.MemorySearchResultsPanel panel, boolean forward)
-
-
Method Details
-
loadResults
Description copied from interface:MemoryMatchTableLoader
Called by the table model to initiate searching and loading using the threaded table models threading infrastructure.- Specified by:
loadResults
in interfaceMemoryMatchTableLoader
- Parameters:
accumulator
- the accumulator to store results that will appear in the results tablemonitor
- the task monitor
-
didTerminateEarly
public boolean didTerminateEarly()Description copied from interface:MemoryMatchTableLoader
Returns true if the search/loading did not fully complete. (Search limit reached, cancelled by user, etc.)- Specified by:
didTerminateEarly
in interfaceMemoryMatchTableLoader
- Returns:
- true if the search/loading did not fully complete
-
getFirstMatch
Description copied from interface:MemoryMatchTableLoader
Returns the first match found. Typically used to navigate the associated navigatable.- Specified by:
getFirstMatch
in interfaceMemoryMatchTableLoader
- Returns:
- the first match found
-
dispose
public void dispose()Description copied from interface:MemoryMatchTableLoader
Cleans up resources- Specified by:
dispose
in interfaceMemoryMatchTableLoader
-
hasResults
public boolean hasResults()Description copied from interface:MemoryMatchTableLoader
Returns true if at least one match was found.- Specified by:
hasResults
in interfaceMemoryMatchTableLoader
- Returns:
- true if at least one match was found
-