mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C#: Convert 1.26 change notes
This commit is contained in:
@@ -1,35 +0,0 @@
|
|||||||
# Improvements to C# analysis
|
|
||||||
|
|
||||||
The following changes in version 1.26 affect C# analysis in all applications.
|
|
||||||
|
|
||||||
## New queries
|
|
||||||
|
|
||||||
| **Query** | **Tags** | **Purpose** |
|
|
||||||
|-----------------------------|-----------|--------------------------------------------------------------------|
|
|
||||||
|
|
||||||
|
|
||||||
## Changes to existing queries
|
|
||||||
|
|
||||||
| **Query** | **Expected impact** | **Change** |
|
|
||||||
|------------------------------|------------------------|-----------------------------------|
|
|
||||||
| Weak encryption: Insufficient key size (`cs/insufficient-key-size`) | More results | The required key size has been increased from 1024 to 2048. |
|
|
||||||
|
|
||||||
## Removal of old queries
|
|
||||||
|
|
||||||
## Changes to code extraction
|
|
||||||
|
|
||||||
* Partial method bodies are extracted. Previously, partial method bodies were skipped completely.
|
|
||||||
* Inferring the lengths of implicitely sized arrays is fixed. Previously, multidimensional arrays were always extracted with the same length for
|
|
||||||
each dimension. With the fix, the array sizes `2` and `1` are extracted for `new int[,]{{1},{2}}`. Previously `2` and `2` were extracted.
|
|
||||||
* The extractor is now assembly-insensitive by default. This means that two entities with the same
|
|
||||||
fully-qualified name are now mapped to the same entity in the resulting database, regardless of
|
|
||||||
whether they belong to different assemblies. Assembly sensitivity can be reenabled by passing
|
|
||||||
`--assemblysensitivetrap` to the extractor.
|
|
||||||
|
|
||||||
## Changes to libraries
|
|
||||||
|
|
||||||
## Changes to autobuilder
|
|
||||||
|
|
||||||
## Changes to tooling support
|
|
||||||
|
|
||||||
* The Abstract Syntax Tree of C# files can be printed in Visual Studio Code.
|
|
||||||
2
csharp/change-notes/2020-08-18-ast-viewer.md
Normal file
2
csharp/change-notes/2020-08-18-ast-viewer.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
tooling
|
||||||
|
* The Abstract Syntax Tree of C# files can be viewed in Visual Studio Code.
|
||||||
2
csharp/change-notes/2020-08-18-partial-method-bodies.md
Normal file
2
csharp/change-notes/2020-08-18-partial-method-bodies.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
lgtm,codescanning
|
||||||
|
* Partial method bodies are extracted. Previously, partial method bodies were skipped.
|
||||||
5
csharp/change-notes/2020-08-26-implicit-array-lengths.md
Normal file
5
csharp/change-notes/2020-08-26-implicit-array-lengths.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
lgtm,codescanning
|
||||||
|
* Inferring the lengths of implicitely sized arrays is fixed. Previously, multi
|
||||||
|
dimensional arrays were always extracted with the same length for each dimension.
|
||||||
|
With the fix, the array sizes `2` and `1` are extracted for `new int[,]{{1},{2}}`.
|
||||||
|
Previously `2` and `2` were extracted.
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
lgtm,codescanning
|
||||||
|
* The extractor is now assembly-insensitive by default. This means that two entities
|
||||||
|
with the same fully-qualified name are now mapped to the same entity in the resulting
|
||||||
|
database, regardless of whether they belong to different assemblies. Assembly
|
||||||
|
sensitivity can be reenabled by passing `--assemblysensitivetrap` to the extractor.
|
||||||
2
csharp/change-notes/2020-09-22-weak-encryption.md
Normal file
2
csharp/change-notes/2020-09-22-weak-encryption.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
lgtm,codescanning
|
||||||
|
* The required key size for the query "Weak encryption: Insufficient key size" has been increased from 1024 to 2048.
|
||||||
Reference in New Issue
Block a user