Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

arch/x86/kvm/vmx/main.c vt_complete_emulated_msr() -> kvm_complete_insn_gp()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 1 err $1

arch/x86/kvm/svm/svm.c cr_interception() -> kvm_complete_insn_gp()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.emulate_ctxt->ops->get_cr 4096-ptr_max
PARAM_VALUE 0 vcpu->run->hypercall.ret 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->dst.valptr 0-255
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->fetch.data 0-255
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->src.valptr 0-255
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->src2.valptr 0-255
PARAM_VALUE 1 err 0-1
BUF_SIZE 0 vcpu (-1),7720
BUF_SIZE 0 vcpu (-1),7720
DATA_SOURCE 0 vcpu $0
FUZZY_MAX 1 err 0
USER_DATA 0 vcpu->arch.cr3 0-u64max[c]
USER_DATA 0 vcpu->arch.cr8 0-14
USER_DATA 0 vcpu->arch.mmu->root.pgd 0
USER_DATA 0 *vcpu->arch.emulate_ctxt->fetch.end 0-255
USER_DATA 0 *vcpu->arch.pdptrs 0-u64max
USER_PTR 0 vcpu->arch.emulate_ctxt->fetch.end
USER_PTR 0 vcpu->arch.pdptrs

arch/x86/kvm/svm/svm.c cr_trap() -> kvm_complete_insn_gp()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.emulate_ctxt->ops->get_cr 4096-ptr_max
PARAM_VALUE 0 vcpu->run->hypercall.ret 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->dst.valptr 0-255
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->fetch.data 0-255
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->src.valptr 0-255
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->src2.valptr 0-255
PARAM_VALUE 1 err 0-1
BUF_SIZE 0 vcpu (-1),7720
BUF_SIZE 0 vcpu (-1),7720
DATA_SOURCE 0 vcpu $0
FUZZY_MAX 1 err 0
USER_DATA 0 vcpu->arch.cr8 0-14
USER_DATA 0 *vcpu->arch.emulate_ctxt->fetch.end 0-255
USER_PTR 0 vcpu->arch.emulate_ctxt->fetch.end

arch/x86/kvm/svm/svm.c dr_interception() -> kvm_complete_insn_gp()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic->vcpu->run->hypercall.ret 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 vcpu->arch.apic->vcpu->run->system_event.ndata 1,16
PARAM_VALUE 0 vcpu->arch.apic->vcpu->run->system_event.type 6-7
PARAM_VALUE 0 vcpu->arch.emulate_ctxt->ops->get_cr 4096-ptr_max
PARAM_VALUE 0 vcpu->guest_debug 1-u64max
PARAM_VALUE 0 vcpu->run->hypercall.ret 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 vcpu->run->system_event.ndata 1,16
PARAM_VALUE 0 vcpu->run->system_event.type 6-7
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->dst.valptr 0-255
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->fetch.data 0-255
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->src.valptr 0-255
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->src2.valptr 0-255
PARAM_VALUE 1 err 0-1
BUF_SIZE 0 vcpu (-1),7720
BUF_SIZE 0 vcpu (-1),7720
DATA_SOURCE 0 vcpu $0
FUZZY_MAX 1 err 0
USER_DATA 0 vcpu->arch.dr6 4294838256-4295030783[c]
USER_DATA 0 vcpu->arch.dr7 1024-4294914047[c]
USER_DATA 0 *vcpu->arch.emulate_ctxt->fetch.end 0-255
USER_PTR 0 vcpu->arch.emulate_ctxt->fetch.end

arch/x86/kvm/svm/svm.c efer_trap() -> kvm_complete_insn_gp()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->type 0-1
PARAM_VALUE 0 vcpu->arch.apic->vcpu->run->tpr_access.is_write 0-1
PARAM_VALUE 0 vcpu->arch.emulate_ctxt->ops->get_cr 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.xen.hvm_config.msr 1-u32max
PARAM_VALUE 0 vcpu->run->hypercall.ret 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 vcpu->run->memory_fault.flags 0,8
PARAM_VALUE 0 vcpu->run->memory_fault.gpa 0,4096-18446744073709547520
PARAM_VALUE 0 vcpu->run->memory_fault.size 4096
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->dst.valptr 0-255
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->fetch.data 0-255
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->src.valptr 0-255
PARAM_VALUE 0 *vcpu->arch.emulate_ctxt->src2.valptr 0-255
BUF_SIZE 0 vcpu (-1),7720
BUF_SIZE 0 vcpu (-1),7720
CAPPED_DATA 0 vcpu->kvm->arch.xen.hvm_config.msr 1
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 1 err r kvm_set_msr_common
USER_DATA 0 vcpu->arch.apic->lapic_timer.expired_tscdeadline 0-u64max
USER_DATA 0 vcpu->arch.apic->lapic_timer.tscdeadline 0-u64max
USER_DATA 0 vcpu->arch.apic->sipi_vector 1-255[c]
USER_DATA 0 vcpu->arch.l1_tsc_offset 0-u64max
USER_DATA 0 vcpu->arch.tsc_offset 0-u64max
USER_DATA 0 vcpu->kvm->arch.cur_tsc_offset 0-u64max
USER_DATA 0 vcpu->run->memory_fault.gpa 0,4096-18446744073709547520[c]
USER_DATA 0 *vcpu->arch.emulate_ctxt->fetch.end 0-255
NO_OVERFLOW_SIMPLE 0 vcpu->arch.mmu_external_spt_cache.kmem_cache->object_size
NO_OVERFLOW_SIMPLE 0 vcpu->arch.mmu_page_header_cache.kmem_cache->object_size
NO_OVERFLOW_SIMPLE 0 vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->object_size
NO_OVERFLOW_SIMPLE 0 vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 vcpu->arch.mmu_shadow_page_cache.kmem_cache->object_size
NO_OVERFLOW_SIMPLE 0 vcpu->arch.mmu_shadowed_info_cache.kmem_cache->object_size
USER_PTR 0 vcpu->arch.emulate_ctxt->fetch.end

arch/x86/kvm/svm/svm.c svm_complete_emulated_msr() -> kvm_complete_insn_gp()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 1 err $1

arch/x86/kvm/vmx/vmx.c handle_cr() -> kvm_complete_insn_gp()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.nested_run_pending 0
PARAM_VALUE 0 vcpu->arch.pdptrs_from_userspace 0
PARAM_VALUE 0 vcpu->arch.regs_avail 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->last_used_slot 0,4096-ptr_max
PARAM_VALUE 0 vcpu->last_used_slot_gen 0-2,9223372034707292161-9223372036854775809,18446744071562067968-u64max
PARAM_VALUE 1 err 0-1
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 1 err r handle_set_cr0
USER_DATA 0 *vcpu->arch.pdptrs 0-u64max
USER_PTR 0 vcpu->arch.pdptrs

arch/x86/kvm/vmx/vmx.c handle_cr() -> kvm_complete_insn_gp()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.nested_run_pending 0
PARAM_VALUE 0 vcpu->arch.regs_avail 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 1 err 0-1
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 1 err r kvm_set_cr3
USER_DATA 0 vcpu->arch.cr3 0-u64max[c]
USER_DATA 0 vcpu->arch.mmu->root.pgd 0
USER_DATA 0 *vcpu->arch.pdptrs 0-u64max
USER_PTR 0 vcpu->arch.pdptrs

arch/x86/kvm/vmx/vmx.c handle_cr() -> kvm_complete_insn_gp()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.nested_run_pending 0
PARAM_VALUE 0 vcpu->arch.pdptrs_from_userspace 0
PARAM_VALUE 0 vcpu->arch.regs_avail 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->last_used_slot 0,4096-ptr_max
PARAM_VALUE 0 vcpu->last_used_slot_gen 0-2,9223372034707292161-9223372036854775809,18446744071562067968-u64max
PARAM_VALUE 1 err 0-1
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 1 err r handle_set_cr4
USER_DATA 0 *vcpu->arch.pdptrs 0-u64max
USER_PTR 0 vcpu->arch.pdptrs

arch/x86/kvm/vmx/vmx.c handle_cr() -> kvm_complete_insn_gp()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic 0,4096-ptr_max
PARAM_VALUE 0 vcpu->arch.nested_run_pending 0
PARAM_VALUE 0 vcpu->arch.regs_avail 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 1 err 0-1
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 1 err r kvm_set_cr8
USER_DATA 0 vcpu->arch.cr8 0-14

arch/x86/kvm/vmx/vmx.c handle_dr() -> kvm_complete_insn_gp()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic->vcpu->run->hypercall.ret 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 vcpu->arch.apic->vcpu->run->system_event.ndata 1,16
PARAM_VALUE 0 vcpu->arch.apic->vcpu->run->system_event.type 6-7
PARAM_VALUE 0 vcpu->arch.nested_run_pending 0
PARAM_VALUE 0 vcpu->arch.regs_avail 4096-ptr_max
PARAM_VALUE 0 vcpu->guest_debug 1-u64max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->run->system_event.ndata 1,16
PARAM_VALUE 0 vcpu->run->system_event.type 6-7
PARAM_VALUE 1 err 0-1
DATA_SOURCE 0 vcpu $0
FUZZY_MAX 1 err 1