pub struct HOOKS { /* private fields */ }Methods from Deref<Target = Hooks2>§
Sourcepub fn ensure_init(&self)
pub fn ensure_init(&self)
Load the plugin and initialize it if it hasn’t been loaded already.
pub fn add_callback_on_process_start( &self, callback: extern "C" fn(cpu: &mut CPUState, procname: *const c_char, asid: target_ulong, pid: target_pid_t), )
pub fn remove_callback_on_process_start( &self, callback: extern "C" fn(cpu: &mut CPUState, procname: *const c_char, asid: target_ulong, pid: target_pid_t), )
pub fn add_callback_on_process_end( &self, callback: extern "C" fn(cpu: &mut CPUState, procname: *const c_char, asid: target_ulong, pid: target_pid_t), )
pub fn remove_callback_on_process_end( &self, callback: extern "C" fn(cpu: &mut CPUState, procname: *const c_char, asid: target_ulong, pid: target_pid_t), )
pub fn add_callback_on_thread_start( &self, callback: extern "C" fn(cpu: &mut CPUState, procname: *const c_char, asid: target_ulong, pid: target_pid_t, tid: target_pid_t), )
pub fn remove_callback_on_thread_start( &self, callback: extern "C" fn(cpu: &mut CPUState, procname: *const c_char, asid: target_ulong, pid: target_pid_t, tid: target_pid_t), )
pub fn add_callback_on_thread_end( &self, callback: extern "C" fn(cpu: &mut CPUState, procname: *const c_char, asid: target_ulong, pid: target_pid_t, tid: target_pid_t), )
pub fn remove_callback_on_thread_end( &self, callback: extern "C" fn(cpu: &mut CPUState, procname: *const c_char, asid: target_ulong, pid: target_pid_t, tid: target_pid_t), )
pub fn add_callback_on_mmap_updated( &self, callback: extern "C" fn(cpu: &mut CPUState, libname: *const c_char, base: target_ulong, size: target_ulong), )
pub fn remove_callback_on_mmap_updated( &self, callback: extern "C" fn(cpu: &mut CPUState, libname: *const c_char, base: target_ulong, size: target_ulong), )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HOOKS
impl RefUnwindSafe for HOOKS
impl Send for HOOKS
impl Sync for HOOKS
impl Unpin for HOOKS
impl UnwindSafe for HOOKS
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