Interface ICodePointer

All Known Implementing Classes:
CodePointer

@Ser public interface ICodePointer
Definition of a pointer to code (an entry-point), consisting of an address and a processor mode. The entry-point might actually correspond to an unknown location (see isUnknownAddress()), and serves as a way to indicate a possible code execution.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Get the address of the entry-point
    int
    Get the entry-point processor mode
    boolean
    Indicate if the entry-point relates to an unknown address
    The returned format is 0xADDRESS(MODE) or simply 0xADDRESS for default mode.
  • Method Details

    • getAddress

      long getAddress()
      Get the address of the entry-point
      Returns:
      entry-point address, meaningless if unknown (see isUnknownAddress())
    • getMode

      int getMode()
      Get the entry-point processor mode
      Returns:
      processor mode
    • isUnknownAddress

      boolean isUnknownAddress()
      Indicate if the entry-point relates to an unknown address
      Returns:
      true if address is unknown, false otherwise
    • toString

      String toString()
      The returned format is 0xADDRESS(MODE) or simply 0xADDRESS for default mode.
      Overrides:
      toString in class Object
      Returns: