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
-
Field Summary
FieldsModifier and TypeFieldDescriptionintCondition registerlongCount registerlongLink registerlongMQ register (601 only)static final intstatic final intstatic final intstatic final intstatic final intstatic final intlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongInstruction address register (PC)longMachine state register (supervisor)static final intlongVector Save RegisterlongUser's integer exception register -
Method Summary
Modifier and TypeMethodDescriptionlongReturns a structure datatype representing the contents of the implementor of this interface.
-
Field Details
-
PPC_THREAD_STATE
public static final int PPC_THREAD_STATE- See Also:
-
PPC_FLOAT_STATE
public static final int PPC_FLOAT_STATE- See Also:
-
PPC_EXCEPTION_STATE
public static final int PPC_EXCEPTION_STATE- See Also:
-
PPC_VECTOR_STATE
public static final int PPC_VECTOR_STATE- See Also:
-
PPC_THREAD_STATE64
public static final int PPC_THREAD_STATE64- See Also:
-
PPC_EXCEPTION_STATE64
public static final int PPC_EXCEPTION_STATE64- See Also:
-
THREAD_STATE_NONE
public static final int THREAD_STATE_NONE- See Also:
-
srr0
public long srr0Instruction address register (PC) -
srr1
public long srr1Machine 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 crCondition register -
xer
public long xerUser's integer exception register -
lr
public long lrLink register -
ctr
public long ctrCount register -
mq
public long mqMQ register (601 only) -
vrsave
public long vrsaveVector Save Register
-
-
Method Details
-
getInstructionPointer
public long getInstructionPointer()- Specified by:
getInstructionPointerin classThreadState
-
toDataType
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 existsIOException- if an IO-related error occurs- See Also:
-