Defined in 2 files as a function:
- arch/x86/include/asm/insn.h, line 303 (as a function)
- tools/arch/x86/include/asm/insn.h, line 303 (as a function)
Referenced in 4 files:
- arch/x86/include/asm/insn.h, line 309
- arch/x86/kernel/alternative.c, line 505
- arch/x86/kernel/kprobes/core.c, line 447
- tools/arch/x86/include/asm/insn.h, line 309
Smatch caller information:
arch/x86/kernel/kprobes/core.c __copy_instruction() -> insn_offset_displacement()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 1875746886108372992,5071505957062545408 |
| PARAM_VALUE | 0 | insn->sib.nbytes | 0-1 |
| DATA_SOURCE | 0 | insn | $3 |
| MEM_ZERO | 0 | insn | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &fei_lock | ||
| HALF_LOCKED2 | global &jump_label_mutex |
arch/x86/kernel/alternative.c __apply_relocation() -> insn_offset_displacement()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 3904299021120065536 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/alternative.c insn_offset_immediate() -> insn_offset_displacement()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 3904299021120065536 |
| DATA_SOURCE | 0 | insn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/uprobes.c insn_offset_immediate() -> insn_offset_displacement()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 2693768499051995136 |
| PARAM_VALUE | 0 | insn->modrm.nbytes | 0 |
| PARAM_VALUE | 0 | insn->opcode.nbytes | 0 |
| PARAM_VALUE | 0 | insn->prefixes.nbytes | 0 |
| PARAM_VALUE | 0 | insn->rex_prefix.nbytes | 0 |
| PARAM_VALUE | 0 | insn->sib.nbytes | 0-1 |
| PARAM_VALUE | 0 | insn->vex_prefix.nbytes | 0 |
| CAPPED_DATA | 0 | insn->opnd_bytes | 1 |
| DATA_SOURCE | 0 | insn | $0 |
| MEM_ZERO | 0 | insn | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &uprobe->consumer_rwsem | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &uprobe->register_rwsem | ||
| TYPE_LOCK | (struct uprobe)->consumer_rwsem |