-
Notifications
You must be signed in to change notification settings - Fork 59
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
Update CodeQL CLI dependency to 2.11.6. #333
Conversation
Modernize qlpacks and update to CodeQL 2.8.5
Update to CodeQL 2.9.4
Update to CodeQL 2.10.1
Rename isPOD to isPod to silence deprecation warnings
`XMLElement` and `XMLFile` are deprecated from CodeQL 2.10.4 onwards. `XmlElement` and `XmlFile` are their direct replacements.
Replace `XMLElement` by `XmlElement` and `XMLFile` by `XmlFile`
Replace `NULLMacro` by `NullMacro`
Update to CodeQL 2.11.0
Update expected test output
C++: Pull in the latest version of `TaintedPath.ql` from CodeQL
C++: Accept test changes after CodeQL `scanf` work
Fix references to pack names after pack renaming
This matches the v2.11.6 CodeQL CLI bundle.
Since 2.11.3 pre-release packs have been ignored CodeQL when installing packs. We re-enable this since we use pre-release packs internally (e.g. in the common packs).
This reverts commit 760ccde. This was prematurely included, but was only shipped in 2.12.*.
These were already released with a previous version.
/test-performance |
1 similar comment
/test-performance |
🏁 Beep Boop! Performance testing for this PR has been initiated. Please check back later for results. Note that the query package generation step must complete before testing will start so it might be a minute. |
🏁 Beep Boop! Performance testing complete! See below for performance of the last 3 runs vs your PR. Times are based on predicate performance. You can find full graphs and stats in the PR that was created for this test in the release engineering repo.
🏁 Below are the slowest predicates for the last 2 releases vs this PR.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, no regression in performance 🚀
Description
This PR updates the CodeQL CLI dependency to 2.11.6, which includes updating the
codeql/cpp-all
dependency to0.4.6
.I have made this update by merging the relevant commits from
next
into this branch. This should make it easier to identify unmerged commits in future (by comparingnext
withmain
). Additional commits have been made to ensure full compatibility with CodeQL 2.11.6.The
next
commits included in this pull request includes those in PR:#149
This was slightly premature, as the related
codeql/cpp-all
change shipped with 2.12.0. However, the change is backwards compatible, and so I've chosen to include it here for simplicity of merging.Change request type
.ql
,.qll
,.qls
or unit tests)Rules with added or modified queries
FIO32-C
Release change checklist
A change note (development_handbook.md#change-notes) is required for any pull request which modifies:
If you are only adding new rule queries, a change note is not required.
Author: Is a change note required?
🚨🚨🚨
Reviewer: Confirm that format of shared queries (not the .qll file, the
.ql file that imports it) is valid by running them within VS Code.
Reviewer: Confirm that either a change note is not required or the change note is required and has been added.
Query development review checklist
For PRs that add new queries or modify existing queries, the following checklist should be completed by both the author and reviewer:
Author
As a rule of thumb, predicates specific to the query should take no more than 1 minute, and for simple queries be under 10 seconds. If this is not the case, this should be highlighted and agreed in the code review process.
Reviewer
As a rule of thumb, predicates specific to the query should take no more than 1 minute, and for simple queries be under 10 seconds. If this is not the case, this should be highlighted and agreed in the code review process.