DynamoRIO
_dr_exception_t Struct Reference

#include <dr_events.h>

Data Fields

dr_mcontext_tmcontext
 
EXCEPTION_RECORD * record
 
dr_mcontext_traw_mcontext
 
dr_fault_fragment_info_t fault_fragment_info
 

Detailed Description

Data structure passed with an exception event. Contains the machine context and the Win32 exception record.

Field Documentation

◆ fault_fragment_info

dr_fault_fragment_info_t _dr_exception_t::fault_fragment_info

Information about the code fragment inside the code cache at the exception interruption point.

◆ mcontext

dr_mcontext_t* _dr_exception_t::mcontext

Machine context at exception point. The client should not change mcontext->flags: it should remain DR_MC_ALL.

◆ raw_mcontext

dr_mcontext_t* _dr_exception_t::raw_mcontext

The raw pre-translated machine state at the exception 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. The client should not change raw_mcontext.flags: it should remain DR_MC_ALL.

◆ record

EXCEPTION_RECORD* _dr_exception_t::record

Win32 exception record.


The documentation for this struct was generated from the following file:
  • /home/runner/work/dynamorio/dynamorio/build_release-64/include/dr_events.h