Package ghidra.program.model.symbol
Interface ReferenceListener
-
public interface ReferenceListenerInterface to define methods that are called when references are added or removed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexternalReferenceAdded(Reference ref)Notification that the given external reference has been added.voidexternalReferenceNameChanged(Reference ref)Notification that the external program name in the reference has changed.voidexternalReferenceRemoved(Reference ref)Notification that the given external reference has been removed.voidmemReferenceAdded(Reference ref)Notification that the given memory reference has been added.voidmemReferencePrimaryRemoved(Reference ref)Notification that the given memory reference is no longer the primary reference.voidmemReferencePrimarySet(Reference ref)Notification that the given memory reference has been set as the primary reference.voidmemReferenceRemoved(Reference ref)Notification that the given memory reference has bee removed.voidmemReferenceTypeChanged(Reference newRef, Reference oldRef)Notification that the reference type on the given memory reference has changed.voidstackReferenceAdded(Reference ref)Notification that the given stack reference has been added.voidstackReferenceRemoved(Reference ref)Notification tbat the given stack reference has been removed.
-
-
-
Method Detail
-
memReferenceAdded
void memReferenceAdded(Reference ref)
Notification that the given memory reference has been added.- Parameters:
ref- the reference that was added.
-
memReferenceRemoved
void memReferenceRemoved(Reference ref)
Notification that the given memory reference has bee removed.- Parameters:
ref- the reference that was removed.
-
memReferenceTypeChanged
void memReferenceTypeChanged(Reference newRef, Reference oldRef)
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
void memReferencePrimarySet(Reference ref)
Notification that the given memory reference has been set as the primary reference.- Parameters:
ref- the reference that is now primary.
-
memReferencePrimaryRemoved
void memReferencePrimaryRemoved(Reference ref)
Notification that the given memory reference is no longer the primary reference.- Parameters:
ref- the reference that was primary but now is not.
-
stackReferenceAdded
void stackReferenceAdded(Reference ref)
Notification that the given stack reference has been added.- Parameters:
ref- the stack reference that was added.
-
stackReferenceRemoved
void stackReferenceRemoved(Reference ref)
Notification tbat the given stack reference has been removed.- Parameters:
ref- The stack reference that was removed
-
externalReferenceAdded
void externalReferenceAdded(Reference ref)
Notification that the given external reference has been added.- Parameters:
ref- the external reference that was added.
-
externalReferenceRemoved
void externalReferenceRemoved(Reference ref)
Notification that the given external reference has been removed.- Parameters:
ref- the external reference that was removed.
-
externalReferenceNameChanged
void externalReferenceNameChanged(Reference ref)
Notification that the external program name in the reference has changed.- Parameters:
ref- the external reference with its new external name.
-
-