828ca89628bfcb Oliver Upton 2021-09-16 @4988 tsc = kvm_scale_tsc(vcpu, rdtsc(), vcpu->arch.l1_tsc_scaling_ratio) + offset;
Smatch hates obvious user triggerable integer overflows... No checking
on offset.
This is ok, and even necessary, e.g. if the host TSC > guest TSC.
Is there anything
we can do in KVM to help Smatch avoid false positives? Or do you/Smatch already
maintain a list of known false positives?