Class FunctionComparisonData
java.lang.Object
ghidra.features.base.codecompare.panel.FunctionComparisonData
- All Implemented Interfaces:
ComparisonData
ComparisonData for a function
-
Field Summary
Fields inherited from interface ghidra.features.base.codecompare.panel.ComparisonData
EMPTY, FG_COLOR_TITLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the set of addresses being compared.Returns a description of the data being compared.Returns the function being compared or null if this comparison data is not function based.Returns the program containing the data being compared.Returns a short description (useful for tab name)boolean
isEmpty()
Returns true if this comparison has no addresses to compare
-
Constructor Details
-
FunctionComparisonData
-
-
Method Details
-
getFunction
Description copied from interface:ComparisonData
Returns the function being compared or null if this comparison data is not function based.- Specified by:
getFunction
in interfaceComparisonData
- Returns:
- the function being compared or null if this comparison data is not function based
-
getAddressSet
Description copied from interface:ComparisonData
Returns the set of addresses being compared. Currently, all comparisons are address based, so this should never be null.- Specified by:
getAddressSet
in interfaceComparisonData
- Returns:
- the set of addresses being compared
-
getProgram
Description copied from interface:ComparisonData
Returns the program containing the data being compared.- Specified by:
getProgram
in interfaceComparisonData
- Returns:
- the program containing the data being compared.
-
getDescription
Description copied from interface:ComparisonData
Returns a description of the data being compared.- Specified by:
getDescription
in interfaceComparisonData
- Returns:
- a description of the data being compared.
-
getShortDescription
Description copied from interface:ComparisonData
Returns a short description (useful for tab name)- Specified by:
getShortDescription
in interfaceComparisonData
- Returns:
- a short description
-
isEmpty
public boolean isEmpty()Description copied from interface:ComparisonData
Returns true if this comparison has no addresses to compare- Specified by:
isEmpty
in interfaceComparisonData
- Returns:
- true if this comparison has no addresses to compare
-