_dr_siginfo_t Struct Reference

#include <dr_events.h>


Data Fields

int sig
void * drcontext
dr_mcontext_t mcontext
dr_mcontext_t raw_mcontext
bool raw_mcontext_valid
byte * access_address
bool blocked
dr_fault_fragment_info_t fault_fragment_info


Detailed Description

Data structure passed with a signal event. Contains the machine context at the signal interruption point and other signal information.

Field Documentation

For SIGBUS and SIGSEGV, the address whose access caused the signal to be raised (as calculated by DR).

Indicates this signal is blocked. DR_SIGNAL_BYPASS is not allowed, and a second event will be sent if the signal is later delivered to the application. Events are only sent for blocked non-delayable signals, not for delayable signals.

The context of the thread receiving the signal.

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

The application machine state at the signal interruption point.

The raw pre-translated machine state at the signal interruption point inside the code cache. NULL for delayable signals. Clients are cautioned when examining code cache instructions to not rely on any details of code inserted other than their own.

Whether raw_mcontext is valid.

The signal number.


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

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