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:
- mach/arm/_structs.h
-
-
Field Summary
Fields Modifier and Type Field Description static int
ARM_DEBUG_STATE
static int
ARM_EXCEPTION_STATE
static int
ARM_THREAD_STATE
static int
ARM_VFP_STATE
int
cpsr
int
lr
int
pc
int
r0
int
r1
int
r10
int
r11
int
r12
int
r2
int
r3
int
r4
int
r5
int
r6
int
r7
int
r8
int
r9
int
sp
static int
THREAD_STATE_NONE
-
Constructor Summary
Constructors Constructor Description ThreadStateARM()
DO NOT USE THIS CONSTRUCTOR, USE create*(GenericFactory ...) FACTORY METHODS INSTEAD.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getInstructionPointer()
DataType
toDataType()
Returns a structure datatype representing the contents of the implementor of this interface.
-
-
-
Field Detail
-
ARM_THREAD_STATE
public static final int ARM_THREAD_STATE
- See Also:
- Constant Field Values
-
ARM_VFP_STATE
public static final int ARM_VFP_STATE
- See Also:
- Constant Field Values
-
ARM_EXCEPTION_STATE
public static final int ARM_EXCEPTION_STATE
- See Also:
- Constant Field Values
-
ARM_DEBUG_STATE
public static final int ARM_DEBUG_STATE
- See Also:
- Constant Field Values
-
THREAD_STATE_NONE
public static final int THREAD_STATE_NONE
- See Also:
- Constant Field Values
-
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 Detail
-
getInstructionPointer
public long getInstructionPointer()
- Specified by:
getInstructionPointer
in classThreadState
-
toDataType
public DataType toDataType() throws DuplicateNameException, java.io.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 existsjava.io.IOException
- See Also:
StructureDataType
-
-