#[repr(C)]pub struct _dr_exception_t {
pub mcontext: *mut dr_mcontext_t,
pub record: *mut EXCEPTION_RECORD,
pub raw_mcontext: *mut dr_mcontext_t,
pub fault_fragment_info: dr_fault_fragment_info_t,
}Expand description
Data structure passed with an exception event. Contains the machine context and the Win32 exception record.
Fields§
§mcontext: *mut dr_mcontext_tMachine context at exception point. The client should not change \p mcontext->flags: it should remain DR_MC_ALL.
record: *mut EXCEPTION_RECORD< Win32 exception record.
raw_mcontext: *mut dr_mcontext_tThe 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 \p raw_mcontext.flags: it should remain DR_MC_ALL.
fault_fragment_info: dr_fault_fragment_info_tInformation about the code fragment inside the code cache at the exception interruption point.
Trait Implementations§
Source§impl Clone for _dr_exception_t
impl Clone for _dr_exception_t
Source§fn clone(&self) -> _dr_exception_t
fn clone(&self) -> _dr_exception_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _dr_exception_t
impl Debug for _dr_exception_t
impl Copy for _dr_exception_t
Auto Trait Implementations§
impl Freeze for _dr_exception_t
impl RefUnwindSafe for _dr_exception_t
impl !Send for _dr_exception_t
impl !Sync for _dr_exception_t
impl Unpin for _dr_exception_t
impl UnsafeUnpin for _dr_exception_t
impl UnwindSafe for _dr_exception_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more