-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
A-lintArea: New lintsArea: New lintsE-hardCall for participation: This a hard problem and requires more experience or effort to work onCall for participation: This a hard problem and requires more experience or effort to work onL-correctnessLint: Belongs in the correctness lint groupLint: Belongs in the correctness lint groupT-MIRType: This lint will require working with the MIRType: This lint will require working with the MIR
Description
Here:
https://www.youtube.com/watch?v=KpdSFZOQCl8&t=26m45s
They they show a PVS-Studio is able to catch statically a C++ bug similar to this:
fn foo(v: &mut [u32; 6]) {
for i in 0 ..= 6 {
v[i] += 1;
}
}
Metadata
Metadata
Assignees
Labels
A-lintArea: New lintsArea: New lintsE-hardCall for participation: This a hard problem and requires more experience or effort to work onCall for participation: This a hard problem and requires more experience or effort to work onL-correctnessLint: Belongs in the correctness lint groupLint: Belongs in the correctness lint groupT-MIRType: This lint will require working with the MIRType: This lint will require working with the MIR