Skip to content

Commit 7ceaeac

Browse files
hvitvedCopilot
andcommitted
Merge origin/main into Rust shared CFG migration
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2 parents 07f6685 + 9a57c80 commit 7ceaeac

210 files changed

Lines changed: 5179 additions & 1509 deletions

File tree

Some content is hidden

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

‎.github/workflows/csv-coverage-pr-artifacts.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ jobs:
4747
git checkout HEAD^1
4848
git log -1 --format='%H'
4949
working-directory: base
50-
- name: Set up Python 3.8
50+
- name: Set up Python 3.12
5151
uses: actions/setup-python@v4
5252
with:
53-
python-version: 3.8
53+
python-version: "3.12"
5454
- name: Download CodeQL CLI
5555
uses: ./merge/.github/actions/fetch-codeql
5656
- name: Generate CSV files on merge commit of the PR

‎.github/workflows/csv-coverage-pr-comment.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
run: echo "$GITHUB_CONTEXT"
2626
- name: Clone self (github/codeql)
2727
uses: actions/checkout@v5
28-
- name: Set up Python 3.8
28+
- name: Set up Python 3.12
2929
uses: actions/setup-python@v4
3030
with:
31-
python-version: 3.8
31+
python-version: "3.12"
3232

3333
- name: Check coverage difference file and comment
3434
env:

‎.github/workflows/csv-coverage-timeseries.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
with:
2121
path: codeqlModels
2222
fetch-depth: 0
23-
- name: Set up Python 3.8
23+
- name: Set up Python 3.12
2424
uses: actions/setup-python@v4
2525
with:
26-
python-version: 3.8
26+
python-version: "3.12"
2727
- name: Download CodeQL CLI
2828
uses: ./script/.github/actions/fetch-codeql
2929
- name: Build modeled package list

‎.github/workflows/csv-coverage-update.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
with:
2626
path: ql
2727
fetch-depth: 0
28-
- name: Set up Python 3.8
28+
- name: Set up Python 3.12
2929
uses: actions/setup-python@v4
3030
with:
31-
python-version: 3.8
31+
python-version: "3.12"
3232
- name: Download CodeQL CLI
3333
uses: ./ql/.github/actions/fetch-codeql
3434
- name: Generate coverage files

‎.github/workflows/csv-coverage.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
with:
2525
path: codeqlModels
2626
ref: ${{ github.event.inputs.qlModelShaOverride || github.ref }}
27-
- name: Set up Python 3.8
27+
- name: Set up Python 3.12
2828
uses: actions/setup-python@v4
2929
with:
30-
python-version: 3.8
30+
python-version: "3.12"
3131
- name: Download CodeQL CLI
3232
uses: ./script/.github/actions/fetch-codeql
3333
- name: Build modeled package list

‎.github/workflows/query-list.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
uses: actions/checkout@v5
2727
with:
2828
path: codeql
29-
- name: Set up Python 3.8
29+
- name: Set up Python 3.12
3030
uses: actions/setup-python@v4
3131
with:
32-
python-version: 3.8
32+
python-version: "3.12"
3333
- name: Download CodeQL CLI
3434
# Look under the `codeql` directory, as this is where we checked out the `github/codeql` repo
3535
uses: ./codeql/.github/actions/fetch-codeql

‎.github/workflows/swift.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
runs-on: ubuntu-latest
5959
steps:
6060
- uses: actions/checkout@v5
61+
- uses: actions/setup-python@v5
62+
with:
63+
python-version: '3.12'
6164
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
6265
name: Check that python code is properly formatted
6366
with:

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
exclude: Cargo.lock$|/test([^/]*)/.*$(?<!\.qlref)|.*\.patch$|.*\.qll?$
1313

1414
- repo: https://github.com/pre-commit/mirrors-clang-format
15-
rev: v20.1.8
15+
rev: v23.1.3
1616
hooks:
1717
- id: clang-format
1818

‎MODULE.bazel‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ bazel_dep(name = "rules_java", version = "9.6.1")
2121
bazel_dep(name = "rules_pkg", version = "1.2.0")
2222
bazel_dep(name = "rules_nodejs", version = "6.7.5")
2323
bazel_dep(name = "rules_python", version = "1.9.0")
24-
bazel_dep(name = "rules_shell", version = "0.7.1")
24+
bazel_dep(name = "rules_shell", version = "0.8.0")
2525
bazel_dep(name = "bazel_skylib", version = "1.9.0")
2626
bazel_dep(name = "abseil-cpp", version = "20260107.1", repo_name = "absl")
2727
bazel_dep(name = "nlohmann_json", version = "3.12.0.bcr.1", repo_name = "json")
@@ -315,7 +315,7 @@ use_repo(
315315
)
316316

317317
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
318-
go_sdk.download(version = "1.27.2")
318+
go_sdk.download(version = "1.27.3")
319319

320320
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
321321
go_deps.from_file(go_mod = "//go/extractor:go.mod")
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,45 @@
1+
ql/cpp/ql/src/Best Practices/BlockWithTooManyStatements.ql
2+
ql/cpp/ql/src/Best Practices/ComplexCondition.ql
3+
ql/cpp/ql/src/Best Practices/Exceptions/AccidentalRethrow.ql
4+
ql/cpp/ql/src/Best Practices/Exceptions/CatchingByValue.ql
5+
ql/cpp/ql/src/Best Practices/Exceptions/LeakyCatch.ql
6+
ql/cpp/ql/src/Best Practices/Exceptions/ThrowingPointers.ql
7+
ql/cpp/ql/src/Best Practices/GuardedFree.ql
8+
ql/cpp/ql/src/Best Practices/Hiding/DeclarationHidesParameter.ql
9+
ql/cpp/ql/src/Best Practices/Hiding/DeclarationHidesVariable.ql
10+
ql/cpp/ql/src/Best Practices/Likely Errors/Slicing.ql
11+
ql/cpp/ql/src/Best Practices/RuleOfTwo.ql
12+
ql/cpp/ql/src/Best Practices/UseOfGoto.ql
13+
ql/cpp/ql/src/Critical/LargeParameter.ql
14+
ql/cpp/ql/src/Critical/NewArrayDeleteMismatch.ql
15+
ql/cpp/ql/src/Critical/NewDeleteArrayMismatch.ql
16+
ql/cpp/ql/src/Documentation/FixmeComments.ql
17+
ql/cpp/ql/src/Header Cleanup/Cleanup-DuplicateIncludeGuard.ql
18+
ql/cpp/ql/src/Likely Bugs/Arithmetic/BitwiseSignCheck.ql
19+
ql/cpp/ql/src/Likely Bugs/Arithmetic/ComparisonPrecedence.ql
20+
ql/cpp/ql/src/Likely Bugs/Arithmetic/FloatComparison.ql
21+
ql/cpp/ql/src/Likely Bugs/Arithmetic/PointlessSelfComparison.ql
22+
ql/cpp/ql/src/Likely Bugs/Arithmetic/UnsignedGEZero.ql
23+
ql/cpp/ql/src/Likely Bugs/ContinueInFalseLoop.ql
24+
ql/cpp/ql/src/Likely Bugs/Conversion/ArrayArgSizeMismatch.ql
25+
ql/cpp/ql/src/Likely Bugs/Conversion/ImplicitDowncastFromBitfield.ql
26+
ql/cpp/ql/src/Likely Bugs/Format/TooManyFormatArguments.ql
127
ql/cpp/ql/src/Likely Bugs/Likely Typos/AmbiguousAssignmentOfComparison.ql
28+
ql/cpp/ql/src/Likely Bugs/Likely Typos/AssignWhereCompareMeant.ql
29+
ql/cpp/ql/src/Likely Bugs/Likely Typos/CompareWhereAssignMeant.ql
30+
ql/cpp/ql/src/Likely Bugs/Likely Typos/DubiousNullCheck.ql
31+
ql/cpp/ql/src/Likely Bugs/Likely Typos/FutileConditional.ql
32+
ql/cpp/ql/src/Likely Bugs/Likely Typos/ShortCircuitBitMask.ql
33+
ql/cpp/ql/src/Likely Bugs/Likely Typos/UsingStrcpyAsBoolean.ql
34+
ql/cpp/ql/src/Likely Bugs/Likely Typos/inconsistentLoopDirection.ql
35+
ql/cpp/ql/src/Likely Bugs/Memory Management/ReturnCstrOfLocalStdString.ql
36+
ql/cpp/ql/src/Likely Bugs/OO/IncorrectConstructorDelegation.ql
37+
ql/cpp/ql/src/Likely Bugs/OO/NonVirtualDestructorInBaseClass.ql
38+
ql/cpp/ql/src/Likely Bugs/OO/ThrowInDestructor.ql
39+
ql/cpp/ql/src/Likely Bugs/ReturnConstTypeMember.ql
40+
ql/cpp/ql/src/Likely Bugs/Underspecified Functions/ImplicitFunctionDeclaration.ql
41+
ql/cpp/ql/src/Likely Bugs/Underspecified Functions/TooManyArguments.ql
42+
ql/cpp/ql/src/jsf/4.07 Header Files/AV Rule 35.ql
43+
ql/cpp/ql/src/jsf/4.10 Classes/AV Rule 71.1.ql
44+
ql/cpp/ql/src/jsf/4.10 Classes/AV Rule 79.ql
45+
ql/cpp/ql/src/jsf/4.24 Control Flow Structures/AV Rule 197.ql

0 commit comments

Comments
 (0)