-
Notifications
You must be signed in to change notification settings - Fork 1.8k
C++: Fix some FPs in cpp/missing-check-scanf (second attempt)
#17938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MathiasVP
merged 16 commits into
github:main
from
MathiasVP:fix-fp-in-missing-check-scanf-fixing-take-2
Nov 18, 2024
Merged
Changes from 15 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
a40c1d5
C++: Add FP tests.
MathiasVP db38069
C++: Use value numbering in IRGuards.
MathiasVP 442968c
C++: Properly restrict 'unary_simple_comparison_eq'.
MathiasVP bb85aa2
C++: Accept test changes.
MathiasVP 6e7256f
C++: Delete unused predicates.
MathiasVP b10696c
Update IRGuards.qll
MathiasVP 229d40a
Update IRGuards.qll
MathiasVP 42c1937
Update IRGuards.qll
MathiasVP c80bea3
C++: Stylistic fixes.
MathiasVP feea29b
C++: Move classes.
MathiasVP 5f9d3d7
C++: Rename 'ScrutineeValueNumber' to 'SwitchConditionValueNumber'.
MathiasVP 459bb6e
Update cpp/ql/lib/semmle/code/cpp/controlflow/IRGuards.qll
MathiasVP 409f2c1
C++: Make the formatting of conjunct when using 'getDualValue' consis…
MathiasVP 19d53fb
C++: Exclude guards in static local or global initializers.
MathiasVP 90d7616
C++: Add change note.
MathiasVP 86e95f1
Update cpp/ql/lib/change-notes/2024-11-18-guard-conditions.md
MathiasVP File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.