Interface FunctionAssociationContext
- All Known Implementing Classes:
VTFunctionAssociationCompareContext
,VTFunctionAssociationContext
public interface FunctionAssociationContext
Action context interface for the function associations provider.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines if a function match can be created for the selected source and destination.Gets the match for the source and destination functions if it exists.ghidra.program.model.listing.Function
Gets the source function selected in the tableghidra.program.model.listing.Function
Gets the destination function selected in the table
-
Method Details
-
getSelectedSourceFunction
ghidra.program.model.listing.Function getSelectedSourceFunction()Gets the source function selected in the table- Returns:
- the selected source function or null
-
getSelectionDestinationFunction
ghidra.program.model.listing.Function getSelectionDestinationFunction()Gets the destination function selected in the table- Returns:
- the selected destination function or null
-
getExistingMatch
VTMatch getExistingMatch()Gets the match for the source and destination functions if it exists.- Returns:
- the match or null if there isn't a match.
-
canCreateMatch
boolean canCreateMatch()Determines if a function match can be created for the selected source and destination.- Returns:
- true if the indicated match doesn't currently exist and can be created.
-