Skip to content

Commit 262bfe0

Browse files
committed
C#: Minor changelog improvements
1 parent 6342da9 commit 262bfe0

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

csharp/ql/lib/CHANGELOG.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
### Major Analysis Improvements
88

9-
* The representation of the C# control-flow graph has been significantly changed. This has minor effects on a wide range of queries including both minor improvements and minor regressions, for example, improved precision has been observed for `cs/inefficient-containskey` and `cs/stringbuilder-creation-in-loop`. Two queries stand out as being significantly affected with great improvements: `cs/dereferenced-value-may-be-null` has been completely rewritten which removes a very significant number of false positives. Furthermore, `cs/constant-condition` has been updated to report many new results - these new results are primarily expected to be true positives, but a few new false positives are expected as well. As part of these changes, `cs/dereferenced-value-may-be-null` has been changed from a `path-problem` query to a `problem` query, so paths are no longer reported for this query.
9+
* The representation of the C# control-flow graph has been significantly changed. This has minor effects on a wide range of queries including both minor improvements and minor regressions. For example, improved precision has been observed for `cs/inefficient-containskey` and `cs/stringbuilder-creation-in-loop`. Two queries stand out as being significantly affected with great improvements: `cs/dereferenced-value-may-be-null` has been completely rewritten which removes a very significant number of false positives. Furthermore, `cs/constant-condition` has been updated to report many new results - these new results are primarily expected to be true positives, but a few new false positives are expected as well. As part of these changes, `cs/dereferenced-value-may-be-null` has been changed from a `path-problem` query to a `problem` query, so paths are no longer reported for this query.
1010

1111
### Minor Analysis Improvements
1212

@@ -143,7 +143,7 @@ No user-facing changes.
143143
* Added `remote` flow source models for properties of Blazor components annotated with any of the following attributes from `Microsoft.AspNetCore.Components`:
144144
- `[SupplyParameterFromForm]`
145145
- `[SupplyParameterFromQuery]`
146-
* Added the constructor and explicit cast operator of `Microsoft.AspNetCore.Components.MarkupString` as an `html-injection` sink. This will help catch cross-site scripting resulting from using `MarkupString`.
146+
* Added the constructor and explicit cast operator of `Microsoft.AspNetCore.Components.MarkupString` as an `html-injection` sink. This will help catch cross-site scripting resulting from using `MarkupString`.
147147
* Added flow summaries for the `Microsoft.AspNetCore.Mvc.Controller::View` method.
148148
* The data flow library has been updated to track types in a slightly different way: The type of the tainted data (which may be stored into fields, etc.) is tracked more precisely, while the types of intermediate containers for nested contents is tracked less precisely. This may have a slight effect on false positives for complex flow paths.
149149
* The C# extractor now supports *basic* extraction of .NET 9 projects. There might be limited support for extraction of code using the new C# 13 language features.
@@ -163,7 +163,7 @@ No user-facing changes.
163163
- `System.Web.HttpUtility::ParseQueryString`
164164
- `Microsoft.AspNetCore.WebUtilities.QueryHelpers::ParseQuery`
165165
- `Microsoft.AspNetCore.WebUtilities.QueryHelpers::ParseNullableQuery`
166-
* Added `js-interop` sinks for the `InvokeAsync` and `InvokeVoidAsync` methods of `Microsoft.JSInterop.IJSRuntime`, which can run arbitrary JavaScript.
166+
* Added `js-interop` sinks for the `InvokeAsync` and `InvokeVoidAsync` methods of `Microsoft.JSInterop.IJSRuntime`, which can run arbitrary JavaScript.
167167

168168
## 3.1.1
169169

@@ -201,8 +201,8 @@ No user-facing changes.
201201

202202
### Breaking Changes
203203

204-
* Deleted many deprecated taint-tracking configurations based on `TaintTracking::Configuration`.
205-
* Deleted many deprecated dataflow configurations based on `DataFlow::Configuration`.
204+
* Deleted many deprecated taint-tracking configurations based on `TaintTracking::Configuration`.
205+
* Deleted many deprecated dataflow configurations based on `DataFlow::Configuration`.
206206
* Deleted the deprecated `explorationLimit` predicate from `DataFlow::Configuration`, use `FlowExploration<explorationLimit>` instead.
207207

208208
### Minor Analysis Improvements
@@ -451,7 +451,7 @@ No user-facing changes.
451451

452452
### New Features
453453

454-
* The `DataFlow::StateConfigSig` signature module has gained default implementations for `isBarrier/2` and `isAdditionalFlowStep/4`.
454+
* The `DataFlow::StateConfigSig` signature module has gained default implementations for `isBarrier/2` and `isAdditionalFlowStep/4`.
455455
Hence it is no longer needed to provide `none()` implementations of these predicates if they are not needed.
456456

457457
### Minor Analysis Improvements
@@ -586,7 +586,7 @@ No user-facing changes.
586586

587587
* Attributes on methods in CIL are now extracted (Bugfix).
588588
* Support for `static virtual` and `static abstract` interface members.
589-
* Support for *operators* in interface definitions.
589+
* Support for *operators* in interface definitions.
590590
* C# 11: Added support for the unsigned right shift `>>>` and unsigned right shift assignment `>>>=` operators.
591591
* Query id's have been aligned such that they are prefixed with `cs` instead of `csharp`.
592592

@@ -626,13 +626,13 @@ No user-facing changes.
626626
### Minor Analysis Improvements
627627

628628
* `DateTime` expressions are now considered simple type sanitizers. This affects a wide range of security queries.
629-
* ASP.NET Core controller definition has been made more precise. The amount of introduced taint sources or eliminated false positives should be low though, since the most common pattern is to derive all user defined ASP.NET Core controllers from the standard Controller class, which is not affected.
629+
* ASP.NET Core controller definition has been made more precise. The amount of introduced taint sources or eliminated false positives should be low though, since the most common pattern is to derive all user defined ASP.NET Core controllers from the standard Controller class, which is not affected.
630630

631631
## 0.4.0
632632

633633
### Deprecated APIs
634634

635-
* Some classes/modules with upper-case acronyms in their name have been renamed to follow our style-guide.
635+
* Some classes/modules with upper-case acronyms in their name have been renamed to follow our style-guide.
636636
The old name still exists as a deprecated alias.
637637

638638
### Bug Fixes
@@ -645,7 +645,7 @@ No user-facing changes.
645645

646646
### Deprecated APIs
647647

648-
* Many classes/predicates/modules with upper-case acronyms in their name have been renamed to follow our style-guide.
648+
* Many classes/predicates/modules with upper-case acronyms in their name have been renamed to follow our style-guide.
649649
The old name still exists as a deprecated alias.
650650

651651
### Minor Analysis Improvements
@@ -692,7 +692,7 @@ No user-facing changes.
692692

693693
### Deprecated APIs
694694

695-
* Many classes/predicates/modules that had upper-case acronyms have been renamed to follow our style-guide.
695+
* Many classes/predicates/modules that had upper-case acronyms have been renamed to follow our style-guide.
696696
The old name still exists as a deprecated alias.
697697

698698
### New Features

csharp/ql/src/CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Minor Analysis Improvements
44

5-
* the `cs/web/missing-x-frame-options` query now correctly handles configuration nested in root `<location>` elements.
5+
* The `cs/web/missing-x-frame-options` query now correctly handles configuration nested in root `<location>` elements.
66

77
## 1.4.2
88

@@ -170,7 +170,7 @@ No user-facing changes.
170170

171171
### Minor Analysis Improvements
172172

173-
* C#: The method `string.ReplaceLineEndings(string)` is now considered a sanitizer for the `cs/log-forging` query.
173+
* C#: The method `string.ReplaceLineEndings(string)` is now considered a sanitizer for the `cs/log-forging` query.
174174

175175
## 1.0.10
176176

@@ -284,7 +284,7 @@ No user-facing changes.
284284

285285
### Minor Analysis Improvements
286286

287-
* Fixed a Log forging false positive when using `String.Replace` to sanitize the input.
287+
* Fixed a Log forging false positive when using `String.Replace` to sanitize the input.
288288
* Fixed a URL redirection from remote source false positive when guarding a redirect with `HttpRequestBase.IsUrlLocalToHost()`
289289

290290
## 0.8.5

0 commit comments

Comments
 (0)