Class ThreadStatePPC
- java.lang.Object
 - 
- ghidra.app.util.bin.format.macho.threadcommand.ThreadState
 - 
- ghidra.app.util.bin.format.macho.threadcommand.ThreadStatePPC
 
 
 
- 
- All Implemented Interfaces:
 StructConverter
public class ThreadStatePPC extends ThreadState
 
- 
- 
Field Summary
Fields Modifier and Type Field Description intcrCondition registerlongctrCount registerlonglrLink registerlongmqMQ register (601 only)static intPPC_EXCEPTION_STATEstatic intPPC_EXCEPTION_STATE64static intPPC_FLOAT_STATEstatic intPPC_THREAD_STATEstatic intPPC_THREAD_STATE64static intPPC_VECTOR_STATElongr0longr1longr10longr11longr12longr13longr14longr15longr16longr17longr18longr19longr2longr20longr21longr22longr23longr24longr25longr26longr27longr28longr29longr3longr30longr31longr4longr5longr6longr7longr8longr9longsrr0Instruction address register (PC)longsrr1Machine state register (supervisor)static intTHREAD_STATE_NONElongvrsaveVector Save RegisterlongxerUser's integer exception register 
- 
Constructor Summary
Constructors Constructor Description ThreadStatePPC()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
- 
PPC_THREAD_STATE
public static final int PPC_THREAD_STATE
- See Also:
 - Constant Field Values
 
 
- 
PPC_FLOAT_STATE
public static final int PPC_FLOAT_STATE
- See Also:
 - Constant Field Values
 
 
- 
PPC_EXCEPTION_STATE
public static final int PPC_EXCEPTION_STATE
- See Also:
 - Constant Field Values
 
 
- 
PPC_VECTOR_STATE
public static final int PPC_VECTOR_STATE
- See Also:
 - Constant Field Values
 
 
- 
PPC_THREAD_STATE64
public static final int PPC_THREAD_STATE64
- See Also:
 - Constant Field Values
 
 
- 
PPC_EXCEPTION_STATE64
public static final int PPC_EXCEPTION_STATE64
- See Also:
 - Constant Field Values
 
 
- 
THREAD_STATE_NONE
public static final int THREAD_STATE_NONE
- See Also:
 - Constant Field Values
 
 
- 
srr0
public long srr0
Instruction address register (PC) 
- 
srr1
public long srr1
Machine state register (supervisor) 
- 
r0
public long r0
 
- 
r1
public long r1
 
- 
r2
public long r2
 
- 
r3
public long r3
 
- 
r4
public long r4
 
- 
r5
public long r5
 
- 
r6
public long r6
 
- 
r7
public long r7
 
- 
r8
public long r8
 
- 
r9
public long r9
 
- 
r10
public long r10
 
- 
r11
public long r11
 
- 
r12
public long r12
 
- 
r13
public long r13
 
- 
r14
public long r14
 
- 
r15
public long r15
 
- 
r16
public long r16
 
- 
r17
public long r17
 
- 
r18
public long r18
 
- 
r19
public long r19
 
- 
r20
public long r20
 
- 
r21
public long r21
 
- 
r22
public long r22
 
- 
r23
public long r23
 
- 
r24
public long r24
 
- 
r25
public long r25
 
- 
r26
public long r26
 
- 
r27
public long r27
 
- 
r28
public long r28
 
- 
r29
public long r29
 
- 
r30
public long r30
 
- 
r31
public long r31
 
- 
cr
public int cr
Condition register 
- 
xer
public long xer
User's integer exception register 
- 
lr
public long lr
Link register 
- 
ctr
public long ctr
Count register 
- 
mq
public long mq
MQ register (601 only) 
- 
vrsave
public long vrsave
Vector Save Register 
 - 
 
- 
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
 
 - 
 
 -