renef_syscall
Trace Linux/Android syscalls in a target process by syscall name or category, then list, inspect, or stop active traces. Read captured trace lines separately through the events tool.
Instructions
Trace Linux/Android syscalls in the target process (Syscall.* API).
Actions:
trace: Trace specific syscalls (syscalls=["openat", "read", "connect"], optionalcaller="libapp.so") OR trace an entirecategory("file","network","memory","process","ipc")trace_all: Trace all supported syscalls (Syscall.traceAll())untrace: Stop tracing specific syscalls (syscalls=[...])stop: Stop all active syscall tracing (Syscall.stop())list: List available traceable syscalls (optionalcategoryfilter)active: Show currently active syscall traces
Note: Syscall trace lines are delivered on the separate event channel — call renef_events
to read captured syscall traces!
Args: action: "trace", "trace_all", "untrace", "stop", "list", or "active" syscalls: List of syscall names (for "trace" / "untrace") category: Syscall category ("file", "network", "memory", "process", "ipc") caller: Optional caller library filter when tracing named syscalls (e.g., "libtarget.so")
Returns: JSON status or list of syscalls/active traces
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": {
"action": "<action>"
},
"name": "renef_syscall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| caller | No | ||
| category | No | ||
| syscalls | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |