#[repr(C)]pub struct _emulated_instr_t {
pub size: usize,
pub pc: app_pc,
pub instr: *mut instr_t,
pub flags: dr_emulate_options_t,
}Expand description
Holds data about an emulated instruction, typically populated by an emulation client and read by an observational client.
\note The emulated \p instr is part of the label represented by \p emulated_instr_t and as such it will be freed when the label created by drmgr_insert_emulation_start() is freed.
Fields§
§size: usize< Size of this struct, used for API compatibility checks.
pc: app_pc< The PC address of the emulated instruction.
instr: *mut instr_t< The emulated instruction. See Note above.
flags: dr_emulate_options_t< Flags further describing the emulation.
Trait Implementations§
Source§impl Clone for _emulated_instr_t
impl Clone for _emulated_instr_t
Source§fn clone(&self) -> _emulated_instr_t
fn clone(&self) -> _emulated_instr_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 _emulated_instr_t
impl Debug for _emulated_instr_t
impl Copy for _emulated_instr_t
Auto Trait Implementations§
impl Freeze for _emulated_instr_t
impl RefUnwindSafe for _emulated_instr_t
impl !Send for _emulated_instr_t
impl !Sync for _emulated_instr_t
impl Unpin for _emulated_instr_t
impl UnsafeUnpin for _emulated_instr_t
impl UnwindSafe for _emulated_instr_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