Skip to content

Commit 73a430b

Browse files
committed
Merge branch 'main' into rust-improve-cfg
2 parents 6e868c2 + c7e3682 commit 73a430b

File tree

2,131 files changed

+39338
-10353
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,131 files changed

+39338
-10353
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
- id: clang-format
1616

1717
- repo: https://github.com/pre-commit/mirrors-autopep8
18-
rev: v1.6.0
18+
rev: v2.0.4
1919
hooks:
2020
- id: autopep8
2121
files: ^misc/codegen/.*\.py

Cargo.lock

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ members = [
66
"shared/tree-sitter-extractor",
77
"ruby/extractor",
88
"rust/extractor",
9+
"rust/extractor/macros",
910
]
1011

1112
[patch.crates-io]

MODULE.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ r.from_cargo(
6060
"//:Cargo.toml",
6161
"//ruby/extractor:Cargo.toml",
6262
"//rust/extractor:Cargo.toml",
63+
"//rust/extractor/macros:Cargo.toml",
6364
"//shared/tree-sitter-extractor:Cargo.toml",
6465
],
6566
)
@@ -155,7 +156,7 @@ use_repo(
155156
)
156157

157158
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
158-
go_sdk.download(version = "1.22.2")
159+
go_sdk.download(version = "1.23.1")
159160

160161
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
161162
go_deps.from_file(go_mod = "//go/extractor:go.mod")

cpp/ql/lib/CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
## 2.0.0
2+
3+
### Breaking Changes
4+
5+
* Deleted many deprecated taint-tracking configurations based on `TaintTracking::Configuration`.
6+
* Deleted many deprecated dataflow configurations based on `DataFlow::Configuration`.
7+
* Deleted the deprecated `hasQualifiedName` and `isDefined` predicates from the `Declaration` class, use `hasGlobalName` and `hasDefinition` respectively instead.
8+
* Deleted the `getFullSignature` predicate from the `Function` class, use `getIdentityString(Declaration)` from `semmle.code.cpp.Print` instead.
9+
* Deleted the deprecated `freeCall` predicate from `Alloc.qll`. Use `DeallocationExpr` instead.
10+
* Deleted the deprecated `explorationLimit` predicate from `DataFlow::Configuration`, use `FlowExploration<explorationLimit>` instead.
11+
* Deleted the deprecated `getFieldExpr` predicate from `ClassAggregateLiteral`, use `getAFieldExpr` instead.
12+
* Deleted the deprecated `getElementExpr` predicate from `ArrayOrVectorAggregateLiteral`, use `getAnElementExpr` instead.
13+
14+
### New Features
15+
16+
* Added a class `C11GenericExpr` to represent C11 generic selection expressions. The generic selection is represented as a `Conversion` on the expression that will be selected.
17+
* Added subclasses of `BuiltInOperations` for the `__is_scoped_enum`, `__is_trivially_equality_comparable`, and `__is_trivially_relocatable` builtin operations.
18+
* Added a subclass of `Expr` for `__datasizeof` expressions.
19+
20+
### Minor Analysis Improvements
21+
22+
* Added a data flow model for `swap` member functions, which were previously modeled as taint tracking functions. This change improves the precision of queries where flow through `swap` member functions might affect the results.
23+
* Added a data flow model for `realloc`-like functions, which were previously modeled as a taint tracking functions. This change improves the precision of queries where flow through `realloc`-like functions might affect the results.
24+
25+
## 1.4.2
26+
27+
No user-facing changes.
28+
129
## 1.4.1
230

331
No user-facing changes.

cpp/ql/lib/change-notes/2024-08-28-more-builtin-operations.md

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

cpp/ql/lib/change-notes/2024-08-30-c11-generics.md

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

cpp/ql/lib/change-notes/2024-09-03-realloc-data-flow.md

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

cpp/ql/lib/change-notes/2024-09-04-swap-data-flow.md

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 1.4.2
2+
3+
No user-facing changes.

0 commit comments

Comments
 (0)