Class ThreadStateX86_32
- java.lang.Object
-
- ghidra.app.util.bin.format.macho.threadcommand.ThreadState
-
- ghidra.app.util.bin.format.macho.threadcommand.ThreadStateX86_32
-
- All Implemented Interfaces:
StructConverter
public class ThreadStateX86_32 extends ThreadState
Represents a _STRUCT_X86_THREAD_STATE32 structure.- See Also:
- mach/i386/_structs.h
-
-
Field Summary
Fields Modifier and Type Field Description int
cs
int
ds
int
eax
int
ebp
int
ebx
int
ecx
int
edi
int
edx
int
eflags
int
eip
int
es
int
esi
int
esp
int
fs
int
gs
static int
i386_EXCEPTION_STATE
Deprecated.static int
i386_FLOAT_STATE
Deprecated.static int
i386_THREAD_STATE
Deprecated.int
ss
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_32()
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
-
eax
public int eax
-
ebx
public int ebx
-
ecx
public int ecx
-
edx
public int edx
-
edi
public int edi
-
esi
public int esi
-
ebp
public int ebp
-
esp
public int esp
-
ss
public int ss
-
eflags
public int eflags
-
eip
public int eip
-
cs
public int cs
-
ds
public int ds
-
es
public int es
-
fs
public int fs
-
gs
public int 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
-
-