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 long
cs
long
fs
long
gs
static int
i386_EXCEPTION_STATE
Deprecated.static int
i386_FLOAT_STATE
Deprecated.static int
i386_THREAD_STATE
Deprecated.long
r10
long
r11
long
r12
long
r13
long
r14
long
r15
long
r8
long
r9
long
rax
long
rbp
long
rbx
long
rcx
long
rdi
long
rdx
long
rflags
long
rip
long
rsi
long
rsp
static int
THREAD_STATE_NONE
static int
x86_DEBUG_STATE
static int
x86_DEBUG_STATE32
static int
x86_DEBUG_STATE64
static int
x86_EXCEPTION_STATE
static int
x86_EXCEPTION_STATE32
static int
x86_EXCEPTION_STATE64
static int
x86_FLOAT_STATE
static int
x86_FLOAT_STATE32
static int
x86_FLOAT_STATE64
static int
x86_THREAD_STATE
static int
x86_THREAD_STATE32
static int
x86_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 long
getInstructionPointer()
DataType
toDataType()
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:
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
-
-