frida_inject_library
Inject a shared library (.dylib/.so) into a running process using Frida. Optionally call an entrypoint function with provided data for runtime analysis.
Instructions
Inject a shared library (.dylib / .so) into a target process.
Uses Frida's inject_library_file() to load the library. The
library's entrypoint function (if specified) is called with
data as its argument.
target: process name or pid (string).
library_path: path to the .dylib or .so to inject.
entrypoint: optional symbol to call after load.
data: optional string argument for the entrypoint.
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": {
"target": "<target>",
"library_path": "<library_path>"
},
"name": "frida_inject_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| library_path | Yes | ||
| entrypoint | No | ||
| data | No |