pub struct UnicornInner {
pub uc: *mut c_void,
pub arch: Arch,
pub code_hooks: HashMap<*mut c_void, Box<CodeHook>>,
pub block_hooks: HashMap<*mut c_void, Box<BlockHook>>,
pub mem_hooks: HashMap<*mut c_void, Box<MemHook>>,
pub intr_hooks: HashMap<*mut c_void, Box<InterruptHook>>,
pub insn_in_hooks: HashMap<*mut c_void, Box<InstructionInHook>>,
pub insn_out_hooks: HashMap<*mut c_void, Box<InstructionOutHook>>,
pub insn_sys_hooks: HashMap<*mut c_void, Box<InstructionSysHook>>,
/* private fields */
}
Expand description
Internal Management struct
Fields§
§uc: *mut c_void
§arch: Arch
§code_hooks: HashMap<*mut c_void, Box<CodeHook>>
§block_hooks: HashMap<*mut c_void, Box<BlockHook>>
§mem_hooks: HashMap<*mut c_void, Box<MemHook>>
§intr_hooks: HashMap<*mut c_void, Box<InterruptHook>>
§insn_in_hooks: HashMap<*mut c_void, Box<InstructionInHook>>
§insn_out_hooks: HashMap<*mut c_void, Box<InstructionOutHook>>
§insn_sys_hooks: HashMap<*mut c_void, Box<InstructionSysHook>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnicornInner
impl !RefUnwindSafe for UnicornInner
impl !Send for UnicornInner
impl !Sync for UnicornInner
impl !Unpin for UnicornInner
impl !UnwindSafe for UnicornInner
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