pub fn mid_hook<A: Architecture>(
address: usize,
detour: MidHookFn,
) -> Result<HookGuard<A>>Expand description
install a mid-function hook
hooks at an arbitrary location within a function. the detour receives a context pointer with all registers.