-
Notifications
You must be signed in to change notification settings - Fork 1.7k
C++: New Query: missing return-value check for scanf-like functions #10163
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
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
94c43c0
Update .gitignore for .vscode/*.log temporaries
d10c 76ef779
C++: Add test and placeholder query.
geoffw0 c62ae3b
C++: First working. We now prefer flagging the cases where the variab…
geoffw0 69911d4
.clang-format: do not autoformat test.cpp
d10c ca162a4
C++: complete initial implementation of `cpp/missing-check-scanf`
d10c 170d12b
Write MissingCheckScanf.qhelp
d10c 6158ee1
Change note
d10c 5c894ae
Merge branch 'main' into missing-check-scanf-squashed
d10c d8800c0
C++: new helper predicates in ScanfFunctionCall
d10c e39229d
C++: Remove unique-Instruction kludge in ScanfOutput
d10c a6a30b3
C++: clarify ScanfOutput.getMinimumGuardConstant()
d10c ad56274
C++: Small improvements to query qldoc and message
d10c 2bd866c
C++: improve change note and move to right place
d10c 02772ed
Revert changes to .gitignore and .clang-format
d10c 7d24d96
C++: Optimize MissingCheckScanf/bigStep()
d10c e10042b
C++: Improve docs based on doc-review
d10c ce1e4ad
Merge branch 'main' into missing-check-scanf-squashed
d10c 0729e42
C++: Update metadata based on cwe-scores
d10c 38f185b
C++: Correct CWE tags in metadata
d10c f5a30c7
C++: Add correctness tag
d10c f956999
Merge branch 'main' into missing-check-scanf-squashed
d10c 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
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.