DynamoRIO API
_dr_fault_fragment_info_t Struct Reference

#include <dr_events.h>

Data Fields

void * tag
 
byte * cache_start_pc
 
bool is_trace
 
bool app_code_consistent
 

Detailed Description

Data structure passed within dr_exception_t, dr_siginfo_t, and dr_restore_state_info_t. Contains information about the code fragment inside the code cache at the exception/signal/translation interruption point.

Field Documentation

◆ app_code_consistent

bool _dr_fault_fragment_info_t::app_code_consistent

Indicates whether the original application code containing the code corresponding to the exception/signal/translation interruption point is guaranteed to still be in the same state it was when the code was placed in the code cache. This guarantee varies depending on the type of cache consistency being used by DR.

◆ cache_start_pc

byte* _dr_fault_fragment_info_t::cache_start_pc

The start address of the code fragment inside the code cache at the exception/signal/translation interruption point. NULL for interruption not in the code cache. Clients are cautioned when examining code cache instructions to not rely on any details of code inserted other than their own.

◆ is_trace

bool _dr_fault_fragment_info_t::is_trace

Indicates whether the interrupted code fragment is a trace

◆ tag

void* _dr_fault_fragment_info_t::tag

The tag of the code fragment inside the code cache at the exception/signal/translation interruption point. NULL for interruption not in the code cache.


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