Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
arch/x86/kvm/x86.c emulator_cmpxchg_emulated() -> emulator_write_emulated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->get_cr | 8265647234411626496 |
| PARAM_VALUE | 0 | ctxt->ops->get_idt | 8853942836760453120 |
| PARAM_VALUE | 0 | ctxt->ops->get_msr | 8129238678163517440 |
| PARAM_VALUE | 0 | ctxt->ops->get_segment | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->intercept | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->is_canonical_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->read_std | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->set_segment | 6488883502986878976 |
| PARAM_VALUE | 0 | ctxt->ops->write_std | 5847011921159122944 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| PARAM_VALUE | 4 | exception | 4096-ptr_max |
| BUF_SIZE | 2 | val | 8 |
| BUF_SIZE | 2 | val | 8 |
| DATA_SOURCE | 0 | ctxt | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | val | $3 |
| DATA_SOURCE | 3 | bytes | $4 |
| DATA_SOURCE | 4 | exception | $5 |
| USER_DATA | 0 | ctxt->src.val | 0-u32max |
| USER_PTR | 0 | ctxt->fetch.end |
arch/x86/kvm/x86.c emulator_fix_hypercall() -> emulator_write_emulated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->execute | 1-u64max |
| PARAM_VALUE | 0 | ctxt->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->get_cr | 8265647234411626496 |
| PARAM_VALUE | 0 | ctxt->ops->get_idt | 8853942836760453120 |
| PARAM_VALUE | 0 | ctxt->ops->get_msr | 8129238678163517440 |
| PARAM_VALUE | 0 | ctxt->ops->get_segment | 7209599553600106496 |
| PARAM_VALUE | 0 | ctxt->ops->intercept | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->read_std | 5532471905094541312 |
| PARAM_VALUE | 0 | ctxt->ops->set_segment | 6488883502986878976 |
| PARAM_VALUE | 0 | ctxt->ops->write_std | 5847011921159122944 |
| PARAM_VALUE | 0 | ctxt->vcpu | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 4463082085911162880 |
| PARAM_VALUE | 3 | bytes | 3 |
| PARAM_VALUE | 4 | exception | 4096-ptr_max |
| BUF_SIZE | 2 | val | 3 |
| DATA_SOURCE | 0 | ctxt | $0 |
| UNITS | 1 | addr | unit_byte |
| USER_PTR | 0 | ctxt->fetch.end |
arch/x86/kvm/emulate.c segmented_write() -> (struct x86_emulate_ops)->write_emulated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->get_cr | 8265647234411626496 |
| PARAM_VALUE | 0 | ctxt->ops->get_idt | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->get_msr | 8129238678163517440 |
| PARAM_VALUE | 0 | ctxt->ops->get_segment | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->intercept | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->read_std | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->set_segment | 6488883502986878976 |
| PARAM_VALUE | 0 | ctxt->ops->write_std | 5847011921159122944 |
| PARAM_VALUE | 4 | exception | 4096-ptr_max |
| BUF_SIZE | 2 | val | (-1),8 |
| BUF_SIZE | 2 | val | (-1),8 |
| DATA_SOURCE | 0 | ctxt | $0 |
| DATA_SOURCE | 2 | val | $2 |
| DATA_SOURCE | 3 | bytes | $3 |
| CONTAINER | 0 | -56-8+0 | $(-1) |
| CONTAINER | 4 | -56-8+48 | $(-1) |
| USER_DATA | 0 | ctxt->src.val | 0-u32max |
| USER_PTR | 0 | ctxt->fetch.end | |
| USER_PTR | 0 | ctxt->vcpu->arch.pdptrs |