Class DWARFExternalDebugFilesPlugin
- java.lang.Object
-
- ghidra.framework.plugintool.Plugin
-
- ghidra.app.util.bin.format.dwarf4.external.DWARFExternalDebugFilesPlugin
-
- All Implemented Interfaces:
PluginEventListener
,ServiceListener
,ExtensionPoint
public class DWARFExternalDebugFilesPlugin extends Plugin
-
-
Field Summary
-
Fields inherited from class ghidra.framework.plugintool.Plugin
name, pluginDescription, tool
-
-
Constructor Summary
Constructors Constructor Description DWARFExternalDebugFilesPlugin(PluginTool tool)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExternalDebugFilesService
getExternalDebugFilesService(SearchLocationCreatorContext context)
Get a new instance ofExternalDebugFilesService
using the previously saved information (viasaveExternalDebugFilesService(ExternalDebugFilesService)
).static void
saveExternalDebugFilesService(ExternalDebugFilesService service)
Serializes anExternalDebugFilesService
to a string and writes to the Ghidra global preferences.-
Methods inherited from class ghidra.framework.plugintool.Plugin
acceptData, canClose, canCloseDomainObject, cleanup, close, dataStateRestoreCompleted, dependsUpon, deregisterService, dispose, equals, eventSent, firePluginEvent, getData, getMissingRequiredServices, getName, getPluginDescription, getPluginName, getServicesRequired, getSupportedDataTypes, getTool, getTransientState, getUndoRedoState, hashCode, hasMissingRequiredService, hasUnsaveData, init, isDisposed, prepareToSave, processEvent, readConfigState, readDataState, registerDynamicEventConsumed, registerDynamicServiceProvided, registerEventConsumed, registerEventProduced, registerServiceProvided, registerServiceUsed, restoreTransientState, restoreUndoRedoState, saveData, serviceAdded, serviceRemoved, writeConfigState, writeDataState
-
-
-
-
Constructor Detail
-
DWARFExternalDebugFilesPlugin
public DWARFExternalDebugFilesPlugin(PluginTool tool)
-
-
Method Detail
-
getExternalDebugFilesService
public static ExternalDebugFilesService getExternalDebugFilesService(SearchLocationCreatorContext context)
Get a new instance ofExternalDebugFilesService
using the previously saved information (viasaveExternalDebugFilesService(ExternalDebugFilesService)
).- Parameters:
context
- created viaSearchLocationRegistry.newContext(ghidra.program.model.listing.Program)
- Returns:
- new
ExternalDebugFilesService
instance
-
saveExternalDebugFilesService
public static void saveExternalDebugFilesService(ExternalDebugFilesService service)
Serializes anExternalDebugFilesService
to a string and writes to the Ghidra global preferences.- Parameters:
service
- theExternalDebugFilesService
to commit to preferences
-
-