Skip to content

Commit f2cbbab

Browse files
committed
Merge branch 'main' into rdmarsh2/cpp/cobo-handle-array-casts
2 parents d18fb64 + 06bc460 commit f2cbbab

File tree

2,224 files changed

+78348
-29407
lines changed

Some content is hidden

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

2,224 files changed

+78348
-29407
lines changed

.bazelrc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
build --repo_env=CC=clang --repo_env=CXX=clang++ --cxxopt="-std=c++17"
1+
common --enable_platform_specific_config
2+
3+
build --repo_env=CC=clang --repo_env=CXX=clang++
4+
5+
build:linux --cxxopt=-std=c++20
6+
build:macos --cxxopt=-std=c++20 --cpu=darwin_x86_64
7+
build:windows --cxxopt=/std:c++20 --cxxopt=/Zc:preprocessor
28

39
try-import %workspace%/local.bazelrc

.github/labeler.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Go:
1111
- change-notes/**/*go.*
1212

1313
Java:
14-
- any: [ 'java/**/*', '!java/kotlin-extractor/**/*', '!java/kotlin-explorer/**/*', '!java/ql/test/kotlin/**/*' ]
14+
- any: [ 'java/**/*', '!java/kotlin-extractor/**/*', '!java/ql/test/kotlin/**/*' ]
1515
- change-notes/**/*java.*
1616

1717
JS:
@@ -20,7 +20,6 @@ JS:
2020

2121
Kotlin:
2222
- java/kotlin-extractor/**/*
23-
- java/kotlin-explorer/**/*
2423
- java/ql/test/kotlin/**/*
2524

2625
Python:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- "*/ql/src/**/*.qll"
1111
- "*/ql/lib/**/*.ql"
1212
- "*/ql/lib/**/*.qll"
13+
- "*/ql/lib/ext/**/*.yml"
1314
- "misc/scripts/library-coverage/*.py"
1415
# input data files
1516
- "*/documentation/library-coverage/cwe-sink.csv"

.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

CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
/swift/ @github/codeql-swift
99
/misc/codegen/ @github/codeql-swift
1010
/java/kotlin-extractor/ @github/codeql-kotlin
11-
/java/kotlin-explorer/ @github/codeql-kotlin
1211

1312
# ML-powered queries
1413
/javascript/ql/experimental/adaptivethreatmodeling/ @github/codeql-ml-powered-queries-reviewers

config/identical-files.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,8 @@
511511
"SensitiveDataHeuristics Python/JS": [
512512
"javascript/ql/lib/semmle/javascript/security/internal/SensitiveDataHeuristics.qll",
513513
"python/ql/lib/semmle/python/security/internal/SensitiveDataHeuristics.qll",
514-
"ruby/ql/lib/codeql/ruby/security/internal/SensitiveDataHeuristics.qll"
514+
"ruby/ql/lib/codeql/ruby/security/internal/SensitiveDataHeuristics.qll",
515+
"swift/ql/lib/codeql/swift/security/internal/SensitiveDataHeuristics.qll"
515516
],
516517
"CFG": [
517518
"csharp/ql/lib/semmle/code/csharp/controlflow/internal/ControlFlowGraphImplShared.qll",
@@ -522,6 +523,10 @@
522523
"python/ql/lib/semmle/python/dataflow/new/internal/TypeTracker.qll",
523524
"ruby/ql/lib/codeql/ruby/typetracking/TypeTracker.qll"
524525
],
526+
"SummaryTypeTracker": [
527+
"python/ql/lib/semmle/python/dataflow/new/internal/SummaryTypeTracker.qll",
528+
"ruby/ql/lib/codeql/ruby/typetracking/internal/SummaryTypeTracker.qll"
529+
],
525530
"AccessPathSyntax": [
526531
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/AccessPathSyntax.qll",
527532
"go/ql/lib/semmle/go/dataflow/internal/AccessPathSyntax.qll",
@@ -598,4 +603,4 @@
598603
"python/ql/lib/semmle/python/security/internal/EncryptionKeySizes.qll",
599604
"java/ql/lib/semmle/code/java/security/internal/EncryptionKeySizes.qll"
600605
]
601-
}
606+
}

cpp/ql/lib/CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
## 0.7.3
2+
3+
### Minor Analysis Improvements
4+
5+
* Deleted the deprecated `hasCopyConstructor` predicate from the `Class` class in `Class.qll`.
6+
* Deleted many deprecated predicates and classes with uppercase `AST`, `SSA`, `CFG`, `API`, etc. in their names. Use the PascalCased versions instead.
7+
* Deleted the deprecated `CodeDuplication.qll` file.
8+
9+
## 0.7.2
10+
11+
### New Features
12+
13+
* Added an AST-based interface (`semmle.code.cpp.rangeanalysis.new.RangeAnalysis`) for the relative range analysis library.
14+
* 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.
15+
16+
### Major Analysis Improvements
17+
18+
* 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.
19+
20+
### Minor Analysis Improvements
21+
22+
* The `StdNamespace` class now also includes all inline namespaces that are children of `std` namespace.
23+
* 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.
24+
125
## 0.7.1
226

327
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.

0 commit comments

Comments
 (0)