Expand description
§dobby-rs-framework
Ergonomic hooking utilities built on top of dobby-rs.
Most users should depend on this crate (it pulls dobby-rs automatically).
§Install
cargo add dobby-rs-framework§Highlights
StaticHook<T>: global hook handle + typedoriginal()TypedHookHandle<T>/ReplaceHandle<T>: typed handles for inline hooks/replacements- Symbols + aliases: resolve + alias registry + hook-by-symbol
§Examples
Examples are in examples/:
logging.rsstatic_hook_basic.rsinstall_replace.rsmodule_params.rssymbols_aliases.rsinline_hooks_builder.rsinline_hooks_config.rsmacros.rs
Run one:
cargo run -p dobby-rs-framework --example static_hook_basic§Safety
Hook installation is unsafe. The detour must match the target signature/ABI.
Modules§
Macros§
Enums§
Functions§
- code_
patch ⚠ - destroy⚠
- hook⚠
- import_
table_ replace - instrument
- register_
alloc_ near_ code_ callback - resolve_
symbol - set_
near_ trampoline - set_
options - symbol_
resolver ⚠