Package ghidra.app.services
Interface DebuggerTargetService
public interface DebuggerTargetService
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a listener for target publication and withdrawal eventsGet a list of all published targetsGet the target for the given tracevoidpublishTarget(Target target) Publish a target to the service and its listenersvoidRemove a listener for target publication and withdrawal eventsvoidwithdrawTarget(Target target) Withdraw a target from the service and its listeners
-
Method Details
-
publishTarget
Publish a target to the service and its listeners- Parameters:
target- the new target
-
withdrawTarget
Withdraw a target from the service and its listeners- Parameters:
target- the (presumably invalidated) target
-
getPublishedTargets
Get a list of all published targets- Returns:
- the list in no particular order
-
getTarget
Get the target for the given trace- Parameters:
trace- the trace- Returns:
- the target, or null if there is no such target
-
addTargetPublicationListener
Add a listener for target publication and withdrawal events- Parameters:
listener- the listener
-
removeTargetPublicationListener
Remove a listener for target publication and withdrawal events- Parameters:
listener- the listener
-