frida_linux_got_hook
Overwrite a GOT entry in a Linux process to replace or log calls to a specific function in a module.
Instructions
[Linux] Overwrite a GOT/PLT entry for a function in a target module.
Finds the GOT entry for function_name in module_name. If replacement_addr is given, overwrites the slot directly. Otherwise installs a logging trampoline that logs calls and passes through.
target: process name or pid (string).
module_name: ELF module name (e.g. 'myapp', 'libssl.so').
function_name: function name whose GOT entry to patch.
replacement_addr: optional hex address (e.g. '0x7f001234').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| module_name | Yes | ||
| function_name | Yes | ||
| replacement_addr | No |