Class AddressSetComparisonData

java.lang.Object
ghidra.features.base.codecompare.panel.AddressSetComparisonData
All Implemented Interfaces:
ComparisonData

public class AddressSetComparisonData extends Object implements ComparisonData
ComparisonData for a generic set of addresses.
  • Constructor Details

  • Method Details

    • getFunction

      public Function 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 interface ComparisonData
      Returns:
      the function being compared or null if this comparison data is not function based
    • getAddressSet

      public AddressSetView 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 interface ComparisonData
      Returns:
      the set of addresses being compared
    • getProgram

      public Program getProgram()
      Description copied from interface: ComparisonData
      Returns the program containing the data being compared.
      Specified by:
      getProgram in interface ComparisonData
      Returns:
      the program containing the data being compared.
    • getShortDescription

      public String getShortDescription()
      Description copied from interface: ComparisonData
      Returns a short description (useful for tab name)
      Specified by:
      getShortDescription in interface ComparisonData
      Returns:
      a short description
    • getDescription

      public String getDescription()
      Description copied from interface: ComparisonData
      Returns a description of the data being compared.
      Specified by:
      getDescription in interface ComparisonData
      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 interface ComparisonData
      Returns:
      true if this comparison has no addresses to compare