Package ghidra.feature.vt.api.main
Interface VTAssociationManager
- All Known Implementing Classes:
AssociationDatabaseManager
public interface VTAssociationManager
The interface for the association manager which manages the associations which are shared
with similar matches within a session.
-
Method Summary
Modifier and TypeMethodDescriptiongetAssociation
(ghidra.program.model.address.Address sourceAddress, ghidra.program.model.address.Address destinationAddress) Returns an association for the given source and destination addresses if one has been defined or null if no such association has been defined.int
Returns the total number of associations that have been defined regardless of whether or not they have been accepted.Returns a list of all defined associations regardless of whether or not they have been accepted.getRelatedAssociationsByDestinationAddress
(ghidra.program.model.address.Address destinationAddress) Returns a collection of all defined associations that have the given destination address.getRelatedAssociationsBySourceAddress
(ghidra.program.model.address.Address sourceAddress) Returns a collection of all defined associations that have the given source address.getRelatedAssociationsBySourceAndDestinationAddress
(ghidra.program.model.address.Address sourceAddress, ghidra.program.model.address.Address destinationAddress) Returns a collection of all defined associations that have the either the given source address or the given destination address
-
Method Details
-
getAssociationCount
int getAssociationCount()Returns the total number of associations that have been defined regardless of whether or not they have been accepted.- Returns:
- Returns the total number of associations that have been defined regardless of whether or not they have been accepted.
-
getAssociations
List<VTAssociation> getAssociations()Returns a list of all defined associations regardless of whether or not they have been accepted.- Returns:
- a list of all defined associations regardless of whether or not they have been accepted.
-
getAssociation
VTAssociation getAssociation(ghidra.program.model.address.Address sourceAddress, ghidra.program.model.address.Address destinationAddress) Returns an association for the given source and destination addresses if one has been defined or null if no such association has been defined.- Parameters:
sourceAddress
- the source address for the association.destinationAddress
- the destination address for the association.- Returns:
- the association if it has been defined or else null.
-
getRelatedAssociationsBySourceAddress
Collection<VTAssociation> getRelatedAssociationsBySourceAddress(ghidra.program.model.address.Address sourceAddress) Returns a collection of all defined associations that have the given source address.- Parameters:
sourceAddress
- the source address to use to search for associations.- Returns:
- a collection of all defined associations that have the given source address.
-
getRelatedAssociationsByDestinationAddress
Collection<VTAssociation> getRelatedAssociationsByDestinationAddress(ghidra.program.model.address.Address destinationAddress) Returns a collection of all defined associations that have the given destination address.- Parameters:
destinationAddress
- the source address to use to search for associations.- Returns:
- a collection of all defined associations that have the given destination address.
-
getRelatedAssociationsBySourceAndDestinationAddress
Collection<VTAssociation> getRelatedAssociationsBySourceAndDestinationAddress(ghidra.program.model.address.Address sourceAddress, ghidra.program.model.address.Address destinationAddress) Returns a collection of all defined associations that have the either the given source address or the given destination address- Parameters:
sourceAddress
- the source address to use to search for associations.destinationAddress
- the source address to use to search for associations.- Returns:
- a collection of all defined associations that have either the given source address or the given destination address.
-