Class AddressSetComparisonData
java.lang.Object
ghidra.features.base.codecompare.panel.AddressSetComparisonData
- All Implemented Interfaces:
ComparisonData
ComparisonData for a generic set of addresses.
-
Field Summary
Fields inherited from interface ghidra.features.base.codecompare.panel.ComparisonData
EMPTY, FG_COLOR_TITLE
-
Constructor Summary
Constructors -
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 initial program location to put the cursor when the panel is first displayedReturns 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
-
AddressSetComparisonData
-
-
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.
-
getShortDescription
Description copied from interface:ComparisonData
Returns a short description (useful for tab name)- Specified by:
getShortDescription
in interfaceComparisonData
- Returns:
- a short description
-
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.
-
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
-
getInitialLocation
Description copied from interface:ComparisonData
Returns the initial program location to put the cursor when the panel is first displayed- Specified by:
getInitialLocation
in interfaceComparisonData
-