frida_hook_function
Hook specific functions to intercept, log, or modify calls and return values during runtime instrumentation.
Instructions
Hook a specific function to log calls, modify arguments, or change return values.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| module | No | Module name (or null for main executable) | |
| function | Yes | Function name or address | |
| on_enter | No | JavaScript code to run on function entry | |
| on_leave | No | JavaScript code to run on function exit |