renef_native_call
Call native ARM64 functions directly inside a target process, passing integer, pointer, float, or double arguments and triggering installed hooks on the target address.
Instructions
Call a native ARM64 function directly inside the target process via NativeFunction.
Supports up to 8 integer/pointer args (x0-x7) and 8 float/double args (d0-d7).
Explicit calls via NativeFunction DO trigger installed hooks on the target address.
Supported types for ret_type and arg_types:
"int", "long", "pointer", "bool", "string", "void", "float", "double".
Args: address: Target function address (e.g., "0x7f8a12340") ret_type: Return type (default: "pointer") arg_types: Optional list of argument types (e.g., ["pointer", "int"]) args: Optional list of argument values (ints, hex address strings starting with "0x", floats, bools, or strings). Note: if an argument's declared type is "pointer" and you pass a hex string like "0x7f0000", it is converted to an integer pointer. timeout: Call timeout in seconds (default: 30.0)
Returns:
JSON object with ok, result, and hex formatting for pointer returns
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "renef_native_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| address | Yes | ||
| timeout | No | ||
| ret_type | No | pointer | |
| arg_types | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |