Class ThreadStateX86_64
- java.lang.Object
-
- ghidra.app.util.bin.format.macho.threadcommand.ThreadState
-
- ghidra.app.util.bin.format.macho.threadcommand.ThreadStateX86_64
-
- All Implemented Interfaces:
StructConverter
public class ThreadStateX86_64 extends ThreadState
Represents a _STRUCT_X86_THREAD_STATE64 structure.- See Also:
- mach/i386/_structs.h
-
-
Field Summary
Fields Modifier and Type Field Description longcslongfslonggsstatic inti386_EXCEPTION_STATEDeprecated.static inti386_FLOAT_STATEDeprecated.static inti386_THREAD_STATEDeprecated.longr10longr11longr12longr13longr14longr15longr8longr9longraxlongrbplongrbxlongrcxlongrdilongrdxlongrflagslongriplongrsilongrspstatic intTHREAD_STATE_NONEstatic intx86_DEBUG_STATEstatic intx86_DEBUG_STATE32static intx86_DEBUG_STATE64static intx86_EXCEPTION_STATEstatic intx86_EXCEPTION_STATE32static intx86_EXCEPTION_STATE64static intx86_FLOAT_STATEstatic intx86_FLOAT_STATE32static intx86_FLOAT_STATE64static intx86_THREAD_STATEstatic intx86_THREAD_STATE32static intx86_THREAD_STATE64
-
Constructor Summary
Constructors Constructor Description ThreadStateX86_64()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
-
rax
public long rax
-
rbx
public long rbx
-
rcx
public long rcx
-
rdx
public long rdx
-
rdi
public long rdi
-
rsi
public long rsi
-
rbp
public long rbp
-
rsp
public long rsp
-
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
-
rip
public long rip
-
rflags
public long rflags
-
cs
public long cs
-
fs
public long fs
-
gs
public long gs
-
i386_THREAD_STATE
@Deprecated public static final int i386_THREAD_STATE
Deprecated.- See Also:
- Constant Field Values
-
i386_FLOAT_STATE
@Deprecated public static final int i386_FLOAT_STATE
Deprecated.- See Also:
- Constant Field Values
-
i386_EXCEPTION_STATE
@Deprecated public static final int i386_EXCEPTION_STATE
Deprecated.- See Also:
- Constant Field Values
-
x86_THREAD_STATE32
public static final int x86_THREAD_STATE32
- See Also:
- Constant Field Values
-
x86_FLOAT_STATE32
public static final int x86_FLOAT_STATE32
- See Also:
- Constant Field Values
-
x86_EXCEPTION_STATE32
public static final int x86_EXCEPTION_STATE32
- See Also:
- Constant Field Values
-
x86_THREAD_STATE64
public static final int x86_THREAD_STATE64
- See Also:
- Constant Field Values
-
x86_FLOAT_STATE64
public static final int x86_FLOAT_STATE64
- See Also:
- Constant Field Values
-
x86_EXCEPTION_STATE64
public static final int x86_EXCEPTION_STATE64
- See Also:
- Constant Field Values
-
x86_THREAD_STATE
public static final int x86_THREAD_STATE
- See Also:
- Constant Field Values
-
x86_FLOAT_STATE
public static final int x86_FLOAT_STATE
- See Also:
- Constant Field Values
-
x86_EXCEPTION_STATE
public static final int x86_EXCEPTION_STATE
- See Also:
- Constant Field Values
-
x86_DEBUG_STATE32
public static final int x86_DEBUG_STATE32
- See Also:
- Constant Field Values
-
x86_DEBUG_STATE64
public static final int x86_DEBUG_STATE64
- See Also:
- Constant Field Values
-
x86_DEBUG_STATE
public static final int x86_DEBUG_STATE
- See Also:
- Constant Field Values
-
THREAD_STATE_NONE
public static final int THREAD_STATE_NONE
- See Also:
- Constant Field Values
-
-
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
-
-