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 intARM_DEBUG_STATEstatic intARM_EXCEPTION_STATEstatic intARM_THREAD_STATEstatic intARM_VFP_STATEintcpsrintlrintpcintr0intr1intr10intr11intr12intr2intr3intr4intr5intr6intr7intr8intr9intspstatic intTHREAD_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 longgetInstructionPointer()DataTypetoDataType()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:
getInstructionPointerin classThreadState
-
toDataType
public DataType toDataType() throws DuplicateNameException, java.io.IOException
Description copied from interface:StructConverterReturns 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
-
-