Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | I386_NUM_GREGS 16 |
#define | I386_NUM_FREGS 16 |
#define | I386_NUM_XREGS 9 |
#define | NUM_GPREGS 13 |
#define | I386_SSE_NUM_REGS (I386_NUM_GREGS + I386_NUM_FREGS + I386_NUM_XREGS) |
#define | I387_NUM_XMM_REGS 8 |
#define | I387_ST0_REGNUM I386_ST0_REGNUM |
#define | I387_FCTRL_REGNUM (I387_ST0_REGNUM + 8) |
#define | I387_FSTAT_REGNUM (I387_FCTRL_REGNUM + 1) |
#define | I387_FTAG_REGNUM (I387_FCTRL_REGNUM + 2) |
#define | I387_FISEG_REGNUM (I387_FCTRL_REGNUM + 3) |
#define | I387_FIOFF_REGNUM (I387_FCTRL_REGNUM + 4) |
#define | I387_FOSEG_REGNUM (I387_FCTRL_REGNUM + 5) |
#define | I387_FOOFF_REGNUM (I387_FCTRL_REGNUM + 6) |
#define | I387_FOP_REGNUM (I387_FCTRL_REGNUM + 7) |
#define | I387_XMM0_REGNUM (I387_ST0_REGNUM + 16) |
#define | I387_MXCSR_REGNUM (I387_XMM0_REGNUM + I387_NUM_XMM_REGS) |
#define | NTO_ENAMETOOLONG 78 |
#define | NTO_ELIBACC 83 |
#define | NTO_ELIBBAD 84 |
#define | NTO_ELIBSCN 85 |
#define | NTO_ELIBMAX 86 |
#define | NTO_ELIBEXEC 87 |
#define | NTO_EILSEQ 88 |
#define | NTO_ENOSYS 89 |
Enumerations | |
enum | { NTO_REG_GENERAL , NTO_REG_FLOAT , NTO_REG_SYSTEM , NTO_REG_ALT , NTO_REG_END } |
enum | i386_regnum { I386_EAX_REGNUM , I386_ECX_REGNUM , I386_EDX_REGNUM , I386_EBX_REGNUM , I386_ESP_REGNUM , I386_EBP_REGNUM , I386_ESI_REGNUM , I386_EDI_REGNUM , I386_EIP_REGNUM , I386_EFLAGS_REGNUM , I386_CS_REGNUM , I386_SS_REGNUM , I386_DS_REGNUM , I386_ES_REGNUM , I386_FS_REGNUM , I386_GS_REGNUM , I386_ST0_REGNUM } |
Functions | |
int | errnoconvert (int x) |
LONGEST | extract_signed_integer (const ut8 *addr, int len, int be) |
ULONGEST | extract_unsigned_integer (const ut8 *addr, int len, int be) |
int | i386nto_regset_id (int regno) |
int | i386nto_reg_offset (int regnum) |
int | i386nto_register_area (int regno, int regset, ut32 *off) |
ptid_t | ptid_build (st32 pid, st64 tid) |
int | ptid_equal (ptid_t ptid1, ptid_t ptid2) |
Variables | |
static int | i386nto_gregset_reg_offset [] |
#define I386_SSE_NUM_REGS (I386_NUM_GREGS + I386_NUM_FREGS + I386_NUM_XREGS) |
#define I387_FCTRL_REGNUM (I387_ST0_REGNUM + 8) |
#define I387_FIOFF_REGNUM (I387_FCTRL_REGNUM + 4) |
#define I387_FISEG_REGNUM (I387_FCTRL_REGNUM + 3) |
#define I387_FOOFF_REGNUM (I387_FCTRL_REGNUM + 6) |
#define I387_FOP_REGNUM (I387_FCTRL_REGNUM + 7) |
#define I387_FOSEG_REGNUM (I387_FCTRL_REGNUM + 5) |
#define I387_FSTAT_REGNUM (I387_FCTRL_REGNUM + 1) |
#define I387_FTAG_REGNUM (I387_FCTRL_REGNUM + 2) |
#define I387_MXCSR_REGNUM (I387_XMM0_REGNUM + I387_NUM_XMM_REGS) |
#define I387_ST0_REGNUM I386_ST0_REGNUM |
#define I387_XMM0_REGNUM (I387_ST0_REGNUM + 16) |
anonymous enum |
enum i386_regnum |
Definition at line 39 of file utils.c.
Definition at line 204 of file utils.c.
References ARRAY_SIZE, and i386nto_gregset_reg_offset.
Referenced by i386nto_register_area().
Definition at line 211 of file utils.c.
References i386nto_reg_offset(), I387_FCTRL_REGNUM, I387_FISEG_REGNUM, I387_FOP_REGNUM, I387_MXCSR_REGNUM, I387_ST0_REGNUM, I387_XMM0_REGNUM, NTO_REG_FLOAT, NTO_REG_GENERAL, NUM_GPREGS, and off.
Definition at line 191 of file utils.c.
References I386_NUM_FREGS, I386_NUM_GREGS, I386_SSE_NUM_REGS, NTO_REG_END, NTO_REG_FLOAT, and NTO_REG_GENERAL.
Referenced by qnxr_read_registers(), and qnxr_write_register().
Definition at line 301 of file utils.c.
References pid, ptid_t::pid, and ptid_t::tid.
Referenced by nto_parse_notify(), and qnxr_attach().
Definition at line 309 of file utils.c.
References ptid_t::pid, and ptid_t::tid.
Referenced by rz_debug_qnx_wait().
|
static |
Definition at line 59 of file utils.c.
Referenced by i386nto_reg_offset().