Skip to content

Commit

Permalink
Merge pull request #17938 from MathiasVP/fix-fp-in-missing-check-scan…
Browse files Browse the repository at this point in the history
…f-fixing-take-2

C++: Fix some FPs in `cpp/missing-check-scanf` (second attempt)
  • Loading branch information
MathiasVP authored Nov 18, 2024
2 parents d9b86f5 + 86e95f1 commit 6785b93
Show file tree
Hide file tree
Showing 9 changed files with 756 additions and 124 deletions.
4 changes: 4 additions & 0 deletions cpp/ql/lib/change-notes/2024-11-18-guard-conditions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: minorAnalysis
---
* The `Guards` library (`semmle.code.cpp.controlflow.Guards`) has been improved to recognize more guard conditions. Additionally, the guards library no longer considers guards in static local initializers or global initializers as `GuardCondition`s.
Loading

0 comments on commit 6785b93

Please sign in to comment.