hook_method
Hooks a module's exported symbol to capture function arguments and return values, enabling dynamic analysis of obfuscated routines or anti-debug callbacks.
Instructions
Install a tracing hook on module:symbol.
The hook captures both arguments (on-enter) and the return value (on-leave) and posts messages back to the Python side for the analyst to consume. Useful for tracing the dispatcher of an encrypted-VM bytecode interpreter, the handler of an MBA-obfuscated arithmetic routine, or the userland callback of an anti-debug check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | ||
| module | Yes | ||
| symbol | Yes |