Package ghidra.debug.api.action
Interface AutoMapSpec
- All Superinterfaces:
ExtensionPoint
An interface for specifying how to automatically map dynamic memory to static memory.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<String, AutoMapSpec> allSpecs()static AutoMapSpecfromConfigName(String name) Collection<TraceEvent<?, ?>> getInfoForObjects(Trace trace, long snap) default Stringdefault booleanhasTask()booleanobjectHasType(TraceObjectValue value) default booleanperformMapping(DebuggerStaticMappingService mappingService, Trace trace, long snap, ProgramManager programManager, TaskMonitor monitor) Perform the actual mappingbooleanperformMapping(DebuggerStaticMappingService mappingService, Trace trace, long snap, List<Program> programs, TaskMonitor monitor) Perform the actual mappingprograms(ProgramManager programManager) default voidrunTask(PluginTool tool, Trace trace, long snap)
-
Field Details
-
PRIVATE
-
-
Method Details
-
fromConfigName
-
allSpecs
-
getConfigName
String getConfigName() -
getMenuName
String getMenuName() -
getMenuIcon
Icon getMenuIcon() -
getChangeTypes
Collection<TraceEvent<?,?>> getChangeTypes() -
objectHasType
-
getInfoForObjects
-
hasTask
default boolean hasTask() -
getTaskTitle
-
runTask
-
programs
-
performMapping
boolean performMapping(DebuggerStaticMappingService mappingService, Trace trace, long snap, List<Program> programs, TaskMonitor monitor) throws CancelledException Perform the actual mapping- Parameters:
mappingService- the mapping servicetrace- the tracesnap- the snapprograms- the programs to considermonitor- a task monitor- Returns:
- true if any mappings were added
- Throws:
CancelledException- if the task monitor cancelled the task
-
performMapping
default boolean performMapping(DebuggerStaticMappingService mappingService, Trace trace, long snap, ProgramManager programManager, TaskMonitor monitor) throws CancelledException Perform the actual mapping- Parameters:
mappingService- the mapping servicetrace- the tracesnap- the snapprogramManager- the program managermonitor- a task monitor- Returns:
- true if any mappings were added
- Throws:
CancelledException- if the task monitor cancelled the task
-