Class SpecialAddress

java.lang.Object
ghidra.program.model.address.GenericAddress
ghidra.program.model.address.SpecialAddress
All Implemented Interfaces:
Address, Comparable<Address>

public class SpecialAddress extends GenericAddress
Class used represent "special addresses"
  • Method Details

    • toString

      public String toString()
      Description copied from interface: Address
      Returns a String representation of the address in hex and padded to the appropriate size.
      Specified by:
      toString in interface Address
      Overrides:
      toString in class GenericAddress
      Returns:
      the string
      See Also:
    • toString

      public String toString(boolean showAddressSpace)
      Description copied from interface: Address
      Returns a String representation that may include the address space name
      Specified by:
      toString in interface Address
      Overrides:
      toString in class GenericAddress
      Parameters:
      showAddressSpace - true if the address space should be included in resulting string.
      Returns:
      String the string representation of the address
      See Also:
    • toString

      public String toString(String prefix)
      Description copied from interface: Address
      Returns a String representation of the address using the given string as a prefix. Equivalent of prefix + ":" + toString(false)
      Specified by:
      toString in interface Address
      Overrides:
      toString in class GenericAddress
      Parameters:
      prefix - the string to prepend to the address string.
      Returns:
      the string
      See Also: