You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: change-notes/1.24/analysis-cpp.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,10 @@ The following changes in version 1.24 affect C/C++ analysis in all applications.
26
26
27
27
## Changes to libraries
28
28
29
-
* The data-flow library has been improved when flow through functions needs to be
30
-
combined with both taint tracking and flow through fields allowing more flow
31
-
to be tracked. This affects and improves some security queries, which may
32
-
report additional results.
29
+
* The data-flow library has been improved, which affects and improves some security queries. The improvements are:
30
+
- Track flow through functions that combine taint tracking with flow through fields.
31
+
- Track flow through clone-like functions, that is, functions that read contents of a field from a
32
+
parameter and stores the value in the field of a returned object.
33
33
* Created the `semmle.code.cpp.models.interfaces.Allocation` library to model allocation such as `new` expressions and calls to `malloc`. This in intended to replace the functionality in `semmle.code.cpp.commons.Alloc` with a more consistent and useful interface.
34
34
* Created the `semmle.code.cpp.models.interfaces.Deallocation` library to model deallocation such as `delete` expressions and calls to `free`. This in intended to replace the functionality in `semmle.code.cpp.commons.Alloc` with a more consistent and useful interface.
35
35
* The new class `StackVariable` should be used in place of `LocalScopeVariable`
Copy file name to clipboardExpand all lines: change-notes/1.24/analysis-csharp.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,10 +29,10 @@ The following changes in version 1.24 affect C# analysis in all applications.
29
29
30
30
## Changes to libraries
31
31
32
-
* The data-flow library has been improved when flow through methods needs to be
33
-
combined with both taint tracking and flow through fields allowing more flow
34
-
to be tracked. This affects and improves most security queries, which may
35
-
report additional results.
32
+
* The data-flow library has been improved, which affects and improves most security queries. The improvements are:
33
+
- Track flow through methods that combine taint tracking with flow through fields.
34
+
- Track flow through clone-like methods, that is, methods that read contents of a field from a
35
+
parameter and stores the value in the field of a returned object.
36
36
* The taint tracking library now tracks flow through (implicit or explicit) conversion operator calls.
37
37
*[Code contracts](https://docs.microsoft.com/en-us/dotnet/framework/debug-trace-profile/code-contracts) are now recognized, and are treated like any other assertion methods.
38
38
* Expression nullability flow state is given by the predicates `Expr.hasNotNullFlowState()` and `Expr.hasMaybeNullFlowState()`.
0 commit comments