Class AddressIndexMapConverter

java.lang.Object
ghidra.app.util.viewer.util.AddressIndexMap
ghidra.app.util.viewer.util.AddressIndexMapConverter

public class AddressIndexMapConverter extends AddressIndexMap
  • Constructor Details

  • Method Details

    • getAddress

      public Address getAddress(BigInteger index)
      Description copied from class: AddressIndexMap
      Returns the i'th address in the set.
      Overrides:
      getAddress in class AddressIndexMap
      Parameters:
      index - the index of the address to retrieve.
      Returns:
      the address associated with the given index
    • getOriginalAddressSet

      public AddressSetView getOriginalAddressSet()
      Description copied from class: AddressIndexMap
      Returns the total set of addresses in this map include addresses that have been closed
      Overrides:
      getOriginalAddressSet in class AddressIndexMap
      Returns:
      the total set of addresses in the map including addresses that have been closed
    • getIndexedAddressSet

      public AddressSetView getIndexedAddressSet()
      Description copied from class: AddressIndexMap
      Returns the total set of addresses in this index mapping (not including those that have been closed)
      Overrides:
      getIndexedAddressSet in class AddressIndexMap
      Returns:
      the total set of addresses in this index mapping (not including those that have been closed)
    • getAddressSet

      public AddressSet getAddressSet(FieldSelection sel)
      Description copied from class: AddressIndexMap
      Returns the Address set corresponding to the set of indexes
      Overrides:
      getAddressSet in class AddressIndexMap
      Parameters:
      sel - the FieldSelection containing the set of indexes to include.
      Returns:
      the AddressSet for the given field selection.
    • getFieldSelection

      public FieldSelection getFieldSelection(AddressSetView set)
      Description copied from class: AddressIndexMap
      Returns a FieldSelection containing the set of indexes represented by the given address set
      Overrides:
      getFieldSelection in class AddressIndexMap
      Parameters:
      set - the set of addresses to convert into a set of indexes.
      Returns:
      a FieldSelection for the given address set.
    • getIndex

      public BigInteger getIndex(Address addr)
      Description copied from class: AddressIndexMap
      Returns the index for the given address. If the address is not mapped, null will be returned
      Overrides:
      getIndex in class AddressIndexMap
      Parameters:
      addr - the address for which to retrieve the index.
      Returns:
      the index associated with the given address.
    • getMaxIndex

      public BigInteger getMaxIndex(Address addr)
      Description copied from class: AddressIndexMap
      Returns the the maximum address for the range containing the given address.
      Overrides:
      getMaxIndex in class AddressIndexMap
      Parameters:
      addr - the address to find its containing range's max address.
      Returns:
      the the maximum address for the range containing the given address.
    • getMinIndex

      public BigInteger getMinIndex(Address addr)
      Description copied from class: AddressIndexMap
      Returns the the minimum address for the range containing the given address.
      Overrides:
      getMinIndex in class AddressIndexMap
      Parameters:
      addr - the address to find its containing range's min address.
      Returns:
      the the minimum address for the range containing the given address.