Package ghidra.program.model.symbol
Interface ReferenceListener
public interface ReferenceListener
Interface to define methods that are called when references are
added or removed.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Notification that the given external reference has been added.void
Notification that the external program name in the reference has changed.void
Notification that the given external reference has been removed.void
Notification that the given memory reference has been added.void
Notification that the given memory reference is no longer the primary reference.void
Notification that the given memory reference has been set as the primary reference.void
Notification that the given memory reference has bee removed.void
memReferenceTypeChanged
(Reference newRef, Reference oldRef) Notification that the reference type on the given memory reference has changed.void
Notification that the given stack reference has been added.void
Notification tbat the given stack reference has been removed.
-
Method Details
-
memReferenceAdded
Notification that the given memory reference has been added.- Parameters:
ref
- the reference that was added.
-
memReferenceRemoved
Notification that the given memory reference has bee removed.- Parameters:
ref
- the reference that was removed.
-
memReferenceTypeChanged
Notification that the reference type on the given memory reference has changed.- Parameters:
newRef
- the reference with the new reference type.oldRef
- the reference with the old reference type.
-
memReferencePrimarySet
Notification that the given memory reference has been set as the primary reference.- Parameters:
ref
- the reference that is now primary.
-
memReferencePrimaryRemoved
Notification that the given memory reference is no longer the primary reference.- Parameters:
ref
- the reference that was primary but now is not.
-
stackReferenceAdded
Notification that the given stack reference has been added.- Parameters:
ref
- the stack reference that was added.
-
stackReferenceRemoved
Notification tbat the given stack reference has been removed.- Parameters:
ref
- The stack reference that was removed
-
externalReferenceAdded
Notification that the given external reference has been added.- Parameters:
ref
- the external reference that was added.
-
externalReferenceRemoved
Notification that the given external reference has been removed.- Parameters:
ref
- the external reference that was removed.
-
externalReferenceNameChanged
Notification that the external program name in the reference has changed.- Parameters:
ref
- the external reference with its new external name.
-