frida_compile_script
Compile a Frida script to bytecode for a specific process without loading it. Supports qjs or v8 runtime and returns base64-encoded bytecode for later injection.
Instructions
Compile a script to bytecode without loading it.
Args: pid: Target process PID (must have active session). source: JavaScript source code to compile. runtime: Script runtime — "qjs" (default, no Java/ObjC) or "v8" (full runtime with Java/ObjC bridge).
Returns: Base64-encoded bytecode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| source | Yes | ||
| runtime | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||