Module hook

Module hook 

Source
Expand description

Hook type implementations

This module provides different hook types:

  • InlineHook: Standard prologue replacement hook
  • HotPatchHook: Windows hot-patching style hook
  • MidFunctionHook: Hook at arbitrary location within a function
  • HookChain: Multiple hooks on the same target

Re-exports§

pub use chain::HookChain;
pub use hotpatch::HotPatchHook;
pub use inline::InlineHook;
pub use mid::MidFunctionHook;

Modules§

chain
Hook chaining support
hotpatch
Hot-patch style hooks
inline
Standard inline hook implementation
mid
Mid-function hooks

Traits§

Hook
common hook trait