frida_snapshot_script
Create a script snapshot for a target process to enable fast future loading. Supply the PID and embedded JavaScript to get Base64-encoded snapshot data.
Instructions
Create a snapshot of a script for fast future loading.
Args: pid: Target process PID (must have active session). embed_script: JavaScript source to embed in the snapshot. warmup_script: Optional script to run during snapshot creation. runtime: Script runtime — "qjs" (default, no Java/ObjC) or "v8" (full runtime with Java/ObjC bridge).
Returns: Base64-encoded snapshot data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| runtime | No | ||
| embed_script | Yes | ||
| warmup_script | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||