Skip to content

Commit 86eecea

Browse files
authored
Merge branch 'codeql-cli-2.13.3' into cleartextlogging
2 parents 94b4ebe + f964d19 commit 86eecea

File tree

596 files changed

+11893
-11970
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

596 files changed

+11893
-11970
lines changed

.github/workflows/check-change-note.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
run: |
2828
gh api 'repos/${{github.repository}}/pulls/${{github.event.number}}/files' --paginate --jq 'any(.[].filename ; test("/change-notes/.*[.]md$"))' |
2929
grep true -c
30-
- name: Fail if the change note filename doesn't match the expected format. The file name must be of the form 'YYYY-MM-DD.md' or 'YYYY-MM-DD-{title}.md', where '{title}' is arbitrary text.
30+
- name: Fail if the change note filename doesn't match the expected format. The file name must be of the form 'YYYY-MM-DD.md', 'YYYY-MM-DD-{title}.md', where '{title}' is arbitrary text, or released/x.y.z.md for released change-notes
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3333
run: |
34-
gh api 'repos/${{github.repository}}/pulls/${{github.event.number}}/files' --paginate --jq '[.[].filename | select(test("/change-notes/.*[.]md$"))] | all(test("/change-notes/[0-9]{4}-[0-9]{2}-[0-9]{2}.*[.]md$"))' |
35-
grep true -c
34+
gh api 'repos/${{github.repository}}/pulls/${{github.event.number}}/files' --paginate --jq '[.[].filename | select(test("/change-notes/.*[.]md$"))] | all(test("/change-notes/[0-9]{4}-[0-9]{2}-[0-9]{2}.*[.]md$") or test("/change-notes/released/[0-9]*[.][0-9]*[.][0-9]*[.]md$"))' |
35+
grep true -c

.github/workflows/swift.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
branches:
1717
- main
1818
- rc/*
19+
- codeql-cli-*
1920
push:
2021
paths:
2122
- "swift/**"
@@ -30,6 +31,7 @@ on:
3031
branches:
3132
- main
3233
- rc/*
34+
- codeql-cli-*
3335

3436
jobs:
3537
# not using a matrix as you cannot depend on a specific job in a matrix, and we want to start linux checks

.vscode/tasks.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,22 @@
2222
"command": "${config:python.pythonPath}",
2323
},
2424
"problemMatcher": []
25+
},
26+
{
27+
"label": "Accept .expected changes from CI",
28+
"type": "process",
29+
// Non-Windows OS will usually have Python 3 already installed at /usr/bin/python3.
30+
"command": "python3",
31+
"args": [
32+
"misc/scripts/accept-expected-changes-from-ci.py"
33+
],
34+
"group": "build",
35+
"windows": {
36+
// On Windows, use whatever Python interpreter is configured for this workspace. The default is
37+
// just `python`, so if Python is already on the path, this will find it.
38+
"command": "${config:python.pythonPath}",
39+
},
40+
"problemMatcher": []
2541
}
2642
]
27-
}
43+
}

CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@ WORKSPACE.bazel @github/codeql-ci-reviewers
4040
/.github/workflows/ql-for-ql-* @github/codeql-ql-for-ql-reviewers
4141
/.github/workflows/ruby-* @github/codeql-ruby
4242
/.github/workflows/swift.yml @github/codeql-swift
43+
44+
# Misc
45+
/misc/scripts/accept-expected-changes-from-ci.py @RasmusWL

config/identical-files.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl2.qll",
4848
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl3.qll",
4949
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl4.qll",
50-
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImplForRegExp.qll",
5150
"ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImpl1.qll",
5251
"ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImpl2.qll",
5352
"ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImplForHttpClientLibraries.qll",

cpp/ql/lib/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## 0.7.2
2+
3+
### New Features
4+
5+
* Added an AST-based interface (`semmle.code.cpp.rangeanalysis.new.RangeAnalysis`) for the relative range analysis library.
6+
* A new predicate `BarrierGuard::getAnIndirectBarrierNode` has been added to the new dataflow library (`semmle.code.cpp.dataflow.new.DataFlow`) to mark indirect expressions as barrier nodes using the `BarrierGuard` API.
7+
8+
### Major Analysis Improvements
9+
10+
* In the intermediate representation, handling of control flow after non-returning calls has been improved. This should remove false positives in queries that use the intermedite representation or libraries based on it, including the new data flow library.
11+
12+
### Minor Analysis Improvements
13+
14+
* The `StdNamespace` class now also includes all inline namespaces that are children of `std` namespace.
15+
* The new dataflow (`semmle.code.cpp.dataflow.new.DataFlow`) and taint-tracking libraries (`semmle.code.cpp.dataflow.new.TaintTracking`) now support tracking flow through static local variables.
16+
117
## 0.7.1
218

319
No user-facing changes.

cpp/ql/lib/change-notes/2023-04-28-indirect-barrier-node.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

cpp/ql/lib/change-notes/2023-04-28-static-local-dataflow.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

cpp/ql/lib/change-notes/2023-05-02-ir-noreturn-calls.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

cpp/ql/lib/change-notes/2023-05-02-range-analysis-wrapper.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)