frida_spawn
Spawn a new process in suspended state for instrumentation, returning the PID. Use with frida_resume to start the process after setup.
Instructions
Spawn a new process in suspended state. Returns PID. Use frida_resume to start it.
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": {
"program": "<program>"
},
"name": "frida_spawn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| program | Yes | Path to executable or package name | |
| args | No | Command line arguments | |
| env | No | Environment variables | |
| cwd | No | Working directory | |
| device_id | No | ||
| device_type | No |