_dr_mcontext_t Struct Reference

#include <dr_defines.h>


Data Fields

reg_t r8
reg_t r9
reg_t r10
reg_t r11
reg_t r12
reg_t r13
reg_t r14
reg_t r15
dr_xmm_t xmm [NUM_XMM_SLOTS]
reg_t xdi
reg_t rdi
reg_t xsi
reg_t rsi
reg_t xbp
reg_t rbp
reg_t xsp
reg_t rsp
reg_t xbx
reg_t rbx
reg_t xdx
reg_t rdx
reg_t xcx
reg_t rcx
reg_t xax
reg_t rax
reg_t xflags
reg_t rflags
byte * xip
byte * pc
byte * rip


Detailed Description

Machine context structure.

Field Documentation

platform-independent alt name for full rip/eip register

r10 register.

Note:
For 64-bit DR builds only.

r11 register.

Note:
For 64-bit DR builds only.

r12 register.

Note:
For 64-bit DR builds only.

r13 register.

Note:
For 64-bit DR builds only.

r14 register.

Note:
For 64-bit DR builds only.

r15 register.

Note:
For 64-bit DR builds only.

r8 register.

Note:
For 64-bit DR builds only.

r9 register.

Note:
For 64-bit DR builds only.

platform-dependent name for rax/eax register

platform-dependent name for rbp/ebp register

platform-dependent name for rbx/ebx register

platform-dependent name for rcx/ecx register

platform-dependent name for rdi/edi register

platform-dependent name for rdx/edx register

platform-dependent name for rflags/eflags register

platform-dependent name for rip/eip register

platform-dependent name for rsi/esi register

platform-dependent name for rsp/esp register

platform-independent name for full rax/eax register

platform-independent name for full rbp/ebp register

platform-independent name for full rbx/ebx register

platform-independent name for full rcx/ecx register

platform-independent name for full rdi/edi register

platform-independent name for full rdx/edx register

platform-independent name for full rflags/eflags register

platform-independent name for full rip/eip register

dr_xmm_t _dr_mcontext_t::xmm[NUM_XMM_SLOTS]

The SSE registers xmm0-xmm5 (-xmm15 on Linux) are volatile (caller-saved) for 64-bit and WOW64, and are actually zeroed out on Windows system calls. These fields are ignored for 32-bit processes that are not WOW64, or if the underlying processor does not support SSE. Use dr_mcontext_xmm_fields_valid() to determine whether the fields are valid.

platform-independent name for full rsi/esi register

platform-independent name for full rsp/esp register


The documentation for this struct was generated from the following file:

  DynamoRIO API version 2.0.0 --- Thu Apr 22 00:18:20 2010