Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- arch/x86/coco/sev/vc-handle.c, line 593
- arch/x86/coco/tdx/tdx.c, line 602
- arch/x86/mm/extable.c, line 90
Smatch caller information:
arch/x86/coco/sev/vc-handle.c vc_handle_mmio() -> insn_get_modrm_reg_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 3929561995604525064,6747283956112052232 |
| PARAM_VALUE | 0 | insn->immediate.got | 0-1 |
| PARAM_VALUE | 0 | insn->opcode.got | 1 |
| PARAM_VALUE | 0 | insn->opcode.nbytes | 1-255 |
| PARAM_VALUE | 0 | insn->opcode.value | 0 |
| PARAM_VALUE | 0 | insn->prefixes.got | 1-255 |
| PARAM_VALUE | 0 | insn->rex_prefix.bytes | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | insn->vex_prefix.value | 0 |
| PARAM_VALUE | 0 | insn->x86_64 | 0-1 |
| PARAM_VALUE | 0 | insn->xop_prefix.nbytes | 0 |
| PARAM_VALUE | 0 | *insn->opcode->bytes | 0-255 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| BUF_SIZE | 0 | insn | 112 |
| MEM_ZERO | 0 | insn | |
| PREEMPT_ADD |
arch/x86/coco/tdx/tdx.c handle_mmio() -> insn_get_modrm_reg_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 8874595658658983936 |
| PARAM_VALUE | 0 | insn->kaddr | 0 |
| PARAM_VALUE | 0 | insn->length | 0 |
| PARAM_VALUE | 0 | insn->modrm.value | 0 |
| PARAM_VALUE | 0 | insn->opcode.got | 1 |
| PARAM_VALUE | 0 | insn->opcode.nbytes | 1-255 |
| PARAM_VALUE | 0 | insn->prefixes.got | 1-255 |
| PARAM_VALUE | 0 | insn->sib.got | 0 |
| PARAM_VALUE | 0 | insn->sib.value | 0 |
| PARAM_VALUE | 0 | insn->x86_64 | 0 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | regs->fred_ss.type | 3 |
| PARAM_VALUE | 1 | regs->fred_ss.vector | 20 |
| PARAM_VALUE | 1 | regs->orig_ax | u64max |
| DATA_SOURCE | 1 | regs | $0 |
arch/x86/mm/extable.c ex_handler_zeropad() -> insn_get_modrm_reg_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 6127367958537531392 |
| PARAM_VALUE | 0 | insn->length | 0-15 |
| PARAM_VALUE | 0 | insn->sib.value | 0-255 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| BUF_SIZE | 1 | regs | (-1),168 |
| BUF_SIZE | 1 | regs | (-1),168 |
| DATA_SOURCE | 1 | regs | $1 |
| STR_LEN | 0 | insn | (-1),8,24 |
| STR_LEN | 1 | regs | (-1),8,24 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |