Class ThreadStateARM

java.lang.Object
ghidra.app.util.bin.format.macho.threadcommand.ThreadState
ghidra.app.util.bin.format.macho.threadcommand.ThreadStateARM
All Implemented Interfaces:
StructConverter

public class ThreadStateARM extends ThreadState
Represents a _STRUCT_ARM_THREAD_STATE structure.
See Also:
  • Field Details

    • ARM_THREAD_STATE

      public static final int ARM_THREAD_STATE
      See Also:
    • ARM_VFP_STATE

      public static final int ARM_VFP_STATE
      See Also:
    • ARM_EXCEPTION_STATE

      public static final int ARM_EXCEPTION_STATE
      See Also:
    • ARM_DEBUG_STATE

      public static final int ARM_DEBUG_STATE
      See Also:
    • THREAD_STATE_NONE

      public static final int THREAD_STATE_NONE
      See Also:
    • r0

      public int r0
    • r1

      public int r1
    • r2

      public int r2
    • r3

      public int r3
    • r4

      public int r4
    • r5

      public int r5
    • r6

      public int r6
    • r7

      public int r7
    • r8

      public int r8
    • r9

      public int r9
    • r10

      public int r10
    • r11

      public int r11
    • r12

      public int r12
    • sp

      public int sp
    • lr

      public int lr
    • pc

      public int pc
    • cpsr

      public int cpsr
  • Method Details

    • getInstructionPointer

      public long getInstructionPointer()
      Specified by:
      getInstructionPointer in class ThreadState
    • toDataType

      public DataType toDataType() throws DuplicateNameException, IOException
      Description copied from interface: StructConverter
      Returns a structure datatype representing the contents of the implementor of this interface.

      For example, given:

       class A {
           int foo;
           double bar;
       }
       

      The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments.

      Returns:
      returns a structure datatype representing the implementor of this interface
      Throws:
      DuplicateNameException - when a datatype of the same name already exists
      IOException - if an IO-related error occurs
      See Also: