Documented in 10 files:
- arch/arm/include/asm/ptrace.h, line 136
- arch/arm64/include/asm/ptrace.h, line 229
- arch/loongarch/include/asm/ptrace.h, line 60
- arch/mips/include/asm/ptrace.h, line 71
- arch/openrisc/include/asm/ptrace.h, line 132
- arch/powerpc/include/asm/ptrace.h, line 344
- arch/riscv/include/asm/ptrace.h, line 130
- arch/sh/include/asm/ptrace.h, line 68
- arch/sparc/include/asm/ptrace.h, line 91
- arch/x86/include/asm/ptrace.h, line 322
Defined in 14 files as a function:
- arch/arc/include/asm/ptrace.h, line 163 (as a function)
- arch/arm/include/asm/ptrace.h, line 145 (as a function)
- arch/arm64/include/asm/ptrace.h, line 238 (as a function)
- arch/csky/include/asm/ptrace.h, line 90 (as a function)
- arch/loongarch/include/asm/ptrace.h, line 69 (as a function)
- arch/mips/include/asm/ptrace.h, line 80 (as a function)
- arch/openrisc/include/asm/ptrace.h, line 141 (as a function)
- arch/parisc/include/asm/ptrace.h, line 43 (as a function)
- arch/powerpc/include/asm/ptrace.h, line 353 (as a function)
- arch/riscv/include/asm/ptrace.h, line 139 (as a function)
- arch/s390/include/asm/ptrace.h, line 256 (as a function)
- arch/sh/include/asm/ptrace.h, line 77 (as a function)
- arch/sparc/include/asm/ptrace.h, line 101 (as a function)
- arch/x86/include/asm/ptrace.h, line 331 (as a function)
Referenced in 11 files:
- arch/loongarch/include/asm/ptrace.h, line 140
- arch/powerpc/include/asm/ptrace.h, line 410
- arch/powerpc/perf/perf_regs.c, line 125
- arch/riscv/include/asm/ptrace.h, line 174
- arch/s390/include/asm/ptrace.h, line 306
- arch/x86/include/asm/ptrace.h, line 448
- arch/x86/kernel/kprobes/core.c
- arch/x86/kernel/perf_regs.c, line 74
- arch/x86/lib/insn-eval.c
- kernel/trace/trace_kprobe.c, line 1451
- kernel/trace/trace_uprobe.c, line 229
Smatch caller information:
kernel/trace/trace_fprobe.c regs_get_kernel_argument() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | regs | $0 |
| HALF_LOCKED2 | rcu_read |
arch/x86/kernel/perf_regs.c perf_reg_value() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,128,136,144,152,160,u32max |
| DATA_SOURCE | 0 | regs | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
arch/x86/lib/insn-eval.c get_eff_addr_modrm() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,152 |
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | regs | $1 |
| DATA_SOURCE | 1 | offset | r get_reg_offset |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/lib/insn-eval.c get_eff_addr_modrm_16() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-4294967262,4294967264-u32max |
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| DATA_SOURCE | 0 | regs | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/lib/insn-eval.c get_eff_addr_modrm_16() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-4294967262,4294967264-u32max |
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| DATA_SOURCE | 0 | regs | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/lib/insn-eval.c get_eff_addr_reg() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,152 |
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | regs | $1 |
| DATA_SOURCE | 1 | offset | r get_reg_offset |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/lib/insn-eval.c get_eff_addr_reg() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,152 |
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | regs | $1 |
| DATA_SOURCE | 1 | offset | r get_reg_offset |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/lib/insn-eval.c get_eff_addr_reg() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,152 |
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | regs | $1 |
| DATA_SOURCE | 1 | offset | r get_reg_offset |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/lib/insn-eval.c get_eff_addr_sib() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,152 |
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | regs | $1 |
| DATA_SOURCE | 1 | offset | r get_reg_offset |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/lib/insn-eval.c get_eff_addr_sib() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,152 |
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | regs | $1 |
| DATA_SOURCE | 1 | offset | r get_reg_offset |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/kprobes/core.c kprobe_emulate_call_indirect() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,152 |
| DATA_SOURCE | 0 | regs | $1 |
arch/x86/kernel/kprobes/core.c kprobe_emulate_jmp_indirect() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,152 |
| DATA_SOURCE | 0 | regs | $1 |
kernel/trace/trace_probe.c regs_get_kernel_argument() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| DATA_SOURCE | 0 | regs | $0 |
kernel/trace/trace.c regs_get_kernel_argument() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | regs | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| HALF_LOCKED2 | flags |
kernel/trace/trace_uprobe.c process_fetch_insn() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| DATA_SOURCE | 0 | regs | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/trace/trace_functions_graph.c regs_get_kernel_argument() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | regs | $0 |
| RX_PATH |
kernel/trace/trace_kprobe.c process_fetch_insn() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| DATA_SOURCE | 0 | regs | $1 |
kernel/trace/trace_kprobe.c regs_get_kernel_argument() -> regs_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| DATA_SOURCE | 0 | regs | $0 |