frida_inject_library_file
Inject native library files (.so/.dylib) into running processes by PID, specifying an entrypoint function and data argument to enable dynamic instrumentation on target devices.
Instructions
Inject a native library file (.so/.dylib) into a process.
Args: pid: Target process PID. path: Absolute path to the library on the device. entrypoint: Name of the entry function in the library. data: String argument passed to the entrypoint. device_id: Target device. Uses default if omitted.
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": {
"pid": "<pid>",
"path": "<path>",
"entrypoint": "<entrypoint>",
"data": "<data>"
},
"name": "frida_inject_library_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| data | Yes | ||
| path | Yes | ||
| device_id | No | ||
| entrypoint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||