rpc_export
Register a Python-side RPC export for Frida scripts to call, enabling communication between script and host.
Instructions
Register a stub Python-side RPC export the script side can call.
The function is a reflective shim that returns None; the
analyst wires the real Python callable by calling
re_frida.runner.rpc_export(session, name, fn) from a
follow-up script. The MCP layer intentionally avoids taking
a Python callable as a JSON argument (which the MCP
protocol can't transport).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | ||
| name | Yes |