trace_jni_upcalls
Lists Java reflection callbacks (FindClass, GetMethodID, CallObjectMethod, SetByteArrayRegion) invoked inside a native ARM64 function to map JNI upcalls from a .so offset.
Instructions
Lists every Java reflection callback (FindClass, GetMethodID, CallObjectMethod, SetByteArrayRegion) invoked inside a native ARM64 function.
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": {
"so_name": "<so_name>",
"fn_offset": "<fn_offset>"
},
"name": "trace_jni_upcalls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| so_name | Yes | ||
| apk_path | No | ||
| fn_offset | Yes |