pub struct MidFunctionHook<A: Architecture> { /* private fields */ }Expand description
mid-function hook
hooks at an arbitrary location within a function. saves all registers, calls the detour with a context pointer, then restores registers and continues execution.
Implementations§
Source§impl<A: Architecture> MidFunctionHook<A>
impl<A: Architecture> MidFunctionHook<A>
Trait Implementations§
Source§impl<A: Architecture> Hook for MidFunctionHook<A>
impl<A: Architecture> Hook for MidFunctionHook<A>
Auto Trait Implementations§
impl<A> Freeze for MidFunctionHook<A>
impl<A> RefUnwindSafe for MidFunctionHook<A>where
A: RefUnwindSafe,
impl<A> Send for MidFunctionHook<A>where
A: Send,
impl<A> Sync for MidFunctionHook<A>where
A: Sync,
impl<A> Unpin for MidFunctionHook<A>where
A: Unpin,
impl<A> UnwindSafe for MidFunctionHook<A>where
A: UnwindSafe,
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