Package ghidra.util.search.memory
Class MemSearcherTask
- java.lang.Object
-
- ghidra.util.task.Task
-
- ghidra.util.search.memory.MemSearcherTask
-
- All Implemented Interfaces:
MonitoredRunnable
public class MemSearcherTask extends Task
-
-
Field Summary
-
Fields inherited from class ghidra.util.task.Task
taskMonitor, waitForTaskCompleted
-
-
Constructor Summary
Constructors Constructor Description MemSearcherTask(SearchInfo searchInfo, MemorySearchAlgorithm algorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<MemSearchResult>
getMatchingAddresses()
void
run(TaskMonitor monitor)
This is the method that will be called to do the work-
Methods inherited from class ghidra.util.task.Task
addTaskListener, canCancel, cancel, getStatusTextAlignment, getTaskTitle, getWaitForTaskCompleted, hasProgress, isCancelled, isModal, monitoredRun, notifyTaskListeners, setHasProgress
-
-
-
-
Constructor Detail
-
MemSearcherTask
public MemSearcherTask(SearchInfo searchInfo, MemorySearchAlgorithm algorithm)
-
-
Method Detail
-
run
public void run(TaskMonitor monitor)
Description copied from class:Task
This is the method that will be called to do the workNote: The run(TaskMonitor) method should not make any calls directly on Swing components, as these calls are not thread safe. Place Swing calls in a Runnable, then call
Swing.runLater(Runnable)
orSwing.runNow(Runnable)
to schedule the Runnable inside of the AWT Event Thread.
-
getMatchingAddresses
public java.util.List<MemSearchResult> getMatchingAddresses()
-
-