Defined in 1 files as a prototype:
Defined in 3 files as a function:
- include/linux/kprobes.h, line 481 (as a function)
- kernel/kprobes.c, line 2342 (as a function)
- kernel/kprobes.c, line 2391 (as a function)
Referenced in 6 files:
- arch/arm/probes/kprobes/test-core.c, line 395
- arch/s390/lib/test_unwind.c, line 212
- kernel/kprobes.c
- kernel/trace/trace_kprobe.c, line 537
- lib/tests/test_kprobes.c
- samples/kprobes/kretprobe_example.c, line 97
Smatch caller information:
lib/tests/test_kprobes.c test_kretprobe() -> unregister_kretprobe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rp | 2863014083767844864 |
| PARAM_VALUE | 0 | rp->kp.flags | 0,2,8,10,16,18,24,26 |
| PARAM_VALUE | 0 | rp->kp.nmissed | 0 |
| PARAM_VALUE | 0 | rp->kp.post_handler | 0 |
| PARAM_VALUE | 0 | rp->kp.pre_handler | 0,4661925972793315328 |
| PARAM_VALUE | 0 | rp->maxactive | s32min-(-2),0-s32max |
| PARAM_VALUE | 0 | rp->nmissed | 0 |
| PARAM_VALUE | 0 | rp->rh | 0,4096-ptr_max,(-22),(-12) |
| NOCHECK_CALL |
lib/tests/test_kprobes.c test_stacktrace_on_kretprobe() -> unregister_kretprobe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rp | 502212156254740480 |
| PARAM_VALUE | 0 | rp->data_size | 0-4096 |
| PARAM_VALUE | 0 | rp->kp.addr | 1-3556549974045937663,6432617772963328000-ptr_max |
| PARAM_VALUE | 0 | rp->kp.ainsn.boostable | 0 |
| PARAM_VALUE | 0 | rp->kp.ainsn.indirect.reg | 0-15 |
| PARAM_VALUE | 0 | rp->kp.ainsn.insn | 0 |
| PARAM_VALUE | 0 | rp->kp.ainsn.jcc.type | 0-15 |
| PARAM_VALUE | 0 | rp->kp.ainsn.loop.asize | 0 |
| PARAM_VALUE | 0 | rp->kp.ainsn.loop.type | 0-3 |
| PARAM_VALUE | 0 | rp->kp.ainsn.opcode | 0,156-157,250-251 |
| PARAM_VALUE | 0 | rp->kp.ainsn.rel32 | 0 |
| PARAM_VALUE | 0 | rp->kp.ainsn.size | 0 |
| PARAM_VALUE | 0 | rp->kp.ainsn.tp_len | 0 |
| PARAM_VALUE | 0 | rp->kp.flags | 0,2,8,10,16,18,24,26 |
| PARAM_VALUE | 0 | rp->kp.nmissed | 0 |
| PARAM_VALUE | 0 | rp->kp.post_handler | 0 |
| PARAM_VALUE | 0 | rp->kp.pre_handler | 4661925972793315328 |
| PARAM_VALUE | 0 | rp->maxactive | 1-s32max |
| PARAM_VALUE | 0 | rp->nmissed | 0 |
| PARAM_VALUE | 0 | rp->rh | 4096-ptr_max |
| NOCHECK_CALL |
samples/kprobes/kretprobe_example.c kretprobe_exit() -> unregister_kretprobe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rp | 5478254238058029056 |
| NOCHECK_CALL |
kernel/trace/trace_kprobe.c __unregister_trace_kprobe() -> unregister_kretprobe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rp | 4096-ptr_max |
| PARAM_VALUE | 0 | rp->handler | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &event_mutex |