mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
1.7 KiB
1.7 KiB
0.8.7
Minor Analysis Improvements
- Deleted many deprecated predicates and classes with uppercase
SSL,XML,URI,SSAetc. in their names. Use the PascalCased versions instead. - Deleted the deprecated
getALocalFlowSuccpredicate andTaintTypeclass from the dataflow library. - Deleted the deprecated
NewobjandRethrowclasses, useNewObjandReThrowinstead. - Deleted the deprecated
getAFirstRead,hasAdjacentReads,lastRefBeforeRedef, andhasLastInputRefpredicates from the SSA library. - Deleted the deprecated
getAReachableReadpredicate from theAssignableReadandVariableReadclasses. - Deleted the deprecated
hasQualifiedNamepredicate from theNamedElementclass. - C# 12: Add extractor support and QL library support for inline arrays.
- Fixed a Log forging false positive when logging the value of a nullable simple type. This fix also applies to all other queries that use the simple type sanitizer.
- The diagnostic query
cs/diagnostics/successfully-extracted-files, and therefore the Code Scanning UI measure of scanned C# files, now considers any C# file seen during extraction, even one with some errors, to be extracted / scanned. - Added a new library
semmle.code.csharp.security.dataflow.flowsources.FlowSources, which provides a new classThreatModelFlowSource. TheThreatModelFlowSourceclass can be used to include sources which match the current threat model configuration. - A manual neutral summary model for a callable now blocks all generated summary models for that callable from having any effect.
- C# 12: Add extractor support for lambda expressions with parameter defaults like
(int x, int y = 1) => ...and lambda expressions with aparamparameter like(params int[] x) => ...).