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 ExternalDebugFilesServicegetExternalDebugFilesService(SearchLocationCreatorContext context)Get a new instance ofExternalDebugFilesServiceusing the previously saved information (viasaveExternalDebugFilesService(ExternalDebugFilesService)).static voidsaveExternalDebugFilesService(ExternalDebugFilesService service)Serializes anExternalDebugFilesServiceto 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 ofExternalDebugFilesServiceusing the previously saved information (viasaveExternalDebugFilesService(ExternalDebugFilesService)).- Parameters:
context- created viaSearchLocationRegistry.newContext(ghidra.program.model.listing.Program)- Returns:
- new
ExternalDebugFilesServiceinstance
-
saveExternalDebugFilesService
public static void saveExternalDebugFilesService(ExternalDebugFilesService service)
Serializes anExternalDebugFilesServiceto a string and writes to the Ghidra global preferences.- Parameters:
service- theExternalDebugFilesServiceto commit to preferences
-
-