Struct unicorn_engine::UnicornInner
source · [−]pub struct UnicornInner<'a, D> {
pub handle: *mut c_void,
pub ffi: bool,
pub arch: Arch,
pub hooks: Vec<(*mut c_void, Box<dyn IsUcHook<'a> + 'a>)>,
pub mmio_callbacks: Vec<MmioCallbackScope<'a>>,
pub data: D,
}Fields
handle: *mut c_voidffi: boolarch: Archhooks: Vec<(*mut c_void, Box<dyn IsUcHook<'a> + 'a>)>to keep ownership over the hook for this uc instance’s lifetime
mmio_callbacks: Vec<MmioCallbackScope<'a>>To keep ownership over the mmio callbacks for this uc instance’s lifetime
data: DTrait Implementations
Auto Trait Implementations
impl<'a, D> !RefUnwindSafe for UnicornInner<'a, D>
impl<'a, D> !Send for UnicornInner<'a, D>
impl<'a, D> !Sync for UnicornInner<'a, D>
impl<'a, D> Unpin for UnicornInner<'a, D> where
D: Unpin,
impl<'a, D> !UnwindSafe for UnicornInner<'a, D>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more