renef_os
Run OS-level helpers inside a target process to get its PID, list directory entries, or send POSIX signals to a process or thread for Android instrumentation and reverse engineering.
Instructions
OS-level helpers executed inside the target process (OS.* API).
Actions:
getpid: Get the target process's PID (OS.getpid())listdir: List non-dot entries of a directory on device (OS.listdir(path))kill: Send a POSIX signal to a PID (OS.kill(pid, signal))tgkill: Send a POSIX signal to a specific thread (OS.tgkill(pid, tid, signal))
Args: action: "getpid", "listdir", "kill", or "tgkill" path: Directory path on device (required for "listdir", e.g., "/proc/self/task") pid: Target process/thread-group ID (required for "kill" and "tgkill") tid: Target thread ID (required for "tgkill") signal: POSIX signal number (required for "kill" and "tgkill", e.g., 9, 15, 19)
Returns: JSON object with operation result
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_os"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| tid | No | ||
| path | No | ||
| action | Yes | ||
| signal | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |