#include <dr_events.h>
Data Fields | |
dr_mcontext_t * | mcontext |
bool | raw_mcontext_valid |
dr_mcontext_t * | raw_mcontext |
dr_fault_fragment_info_t | fragment_info |
Data structure passed to a restore_state_ex event handler (see dr_register_restore_state_ex_event()). Contains the machine context at the translation point and other translation information.
dr_fault_fragment_info_t _dr_restore_state_info_t::fragment_info |
Information about the code fragment inside the code cache at the translation interruption point.
dr_mcontext_t* _dr_restore_state_info_t::mcontext |
The application machine state at the translation point. The client can update register values and the program counter by changing this context. The client should not change mcontext.flags:
it should remain DR_MC_ALL.
dr_mcontext_t* _dr_restore_state_info_t::raw_mcontext |
The raw pre-translated machine state at the translation interruption point inside the code cache. Clients are cautioned when examining code cache instructions to not rely on any details of code inserted other than their own. Modifying this context will not affect the translation.
bool _dr_restore_state_info_t::raw_mcontext_valid |
Whether raw_mcontext is valid.