Configure uprobe hook points
devA uprobe configuration targets an ELF file via the library field.
Key Fields:
type: Must beuprobe.library: The ELF file to hook (e.g.,libc.soor a full path). Supports split APK.sofiles.points: A list of hook points. Note: A single uprobe hook supports a maximum of 6 points per execution.
Point Configuration:
name: Either the symbol name (e.g.,__openat) or a hexadecimal offset starting with0x.params: A list of parameters to read when the hook is hit.
{
"type": "uprobe",
"library": "libc.so",
"points": [
{
"name": "__openat",
"params": [
{"type": "str", "reg": "x1", "filter": ["w:/data/data"]}
]
}
]
}