Skip to content

Commit 5f42130

Browse files
committed
Merge branch 'main' into logsinks
2 parents c89be6a + c120532 commit 5f42130

File tree

2,533 files changed

+92178
-5477
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,533 files changed

+92178
-5477
lines changed

CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
/swift/ @github/codeql-swift
99
/misc/codegen/ @github/codeql-swift
1010
/java/kotlin-extractor/ @github/codeql-kotlin
11+
/java/ql/test-kotlin1/ @github/codeql-kotlin
12+
/java/ql/test-kotlin2/ @github/codeql-kotlin
1113

1214
# ML-powered queries
1315
/javascript/ql/experimental/adaptivethreatmodeling/ @github/codeql-ml-powered-queries-reviewers

codeql-workspace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
provide:
22
- "*/ql/src/qlpack.yml"
33
- "*/ql/lib/qlpack.yml"
4-
- "*/ql/test/qlpack.yml"
4+
- "*/ql/test*/qlpack.yml"
55
- "*/ql/examples/qlpack.yml"
66
- "*/ql/consistency-queries/qlpack.yml"
77
- "*/ql/automodel/src/qlpack.yml"

cpp/autobuilder/Semmle.Autobuild.Cpp.Tests/BuildScripts.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ IEnumerable<string> IBuildActions.EnumerateDirectories(string dir)
145145

146146
bool IBuildActions.IsMacOs() => IsMacOs;
147147

148-
public bool IsArm { get; set; }
148+
public bool IsRunningOnAppleSilicon { get; set; }
149149

150-
bool IBuildActions.IsArm() => IsArm;
150+
bool IBuildActions.IsRunningOnAppleSilicon() => IsRunningOnAppleSilicon;
151151

152152
string IBuildActions.PathCombine(params string[] parts)
153153
{

cpp/ql/lib/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## 0.12.0
2+
3+
### Breaking Changes
4+
5+
* The expressions `AssignPointerAddExpr` and `AssignPointerSubExpr` are no longer subtypes of `AssignBitwiseOperation`.
6+
7+
### Minor Analysis Improvements
8+
9+
* The "Returning stack-allocated memory" (`cpp/return-stack-allocated-memory`) query now also detects returning stack-allocated memory allocated by calls to `alloca`, `strdupa`, and `strndupa`.
10+
* Added models for `strlcpy` and `strlcat`.
11+
* Added models for the `sprintf` variants from the `StrSafe.h` header.
12+
* Added SQL API models for `ODBC`.
13+
* Added taint models for `realloc` and related functions.
14+
115
## 0.11.0
216

317
### Breaking Changes

cpp/ql/lib/change-notes/2023-10-30-realloc-flow.md

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

cpp/ql/lib/change-notes/2023-10-31-assign-pointer-add-sub-expr.md

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

cpp/ql/lib/change-notes/2023-11-08-strsafe-models.md

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

cpp/ql/lib/change-notes/2023-11-10-strlcpy-strlcat-models.md

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## 0.12.0
2+
3+
### Breaking Changes
4+
5+
* The expressions `AssignPointerAddExpr` and `AssignPointerSubExpr` are no longer subtypes of `AssignBitwiseOperation`.
6+
7+
### Minor Analysis Improvements
8+
9+
* The "Returning stack-allocated memory" (`cpp/return-stack-allocated-memory`) query now also detects returning stack-allocated memory allocated by calls to `alloca`, `strdupa`, and `strndupa`.
10+
* Added models for `strlcpy` and `strlcat`.
11+
* Added models for the `sprintf` variants from the `StrSafe.h` header.
12+
* Added SQL API models for `ODBC`.
13+
* Added taint models for `realloc` and related functions.

cpp/ql/lib/codeql-pack.release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
lastReleaseVersion: 0.11.0
2+
lastReleaseVersion: 0.12.0

0 commit comments

Comments
 (0)