mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
3.0 KiB
3.0 KiB
0.2.3
Major Analysis Improvements
- Added
DataFlow::CollectionContent, which will enable more accurate flow through collections.
Minor Analysis Improvements
- Added local flow sources for
UITextInputand related classes. - Flow through forced optional unwrapping (
!) on the left side of assignment now works in most cases. Type.getNamenow gets the name of the type alone without any enclosing types. UseType.getFullNamefor the old behaviour.
0.2.2
Major Analysis Improvements
- Added
DataFlow::ArrayContent, which will provide more accurate flow through arrays.
Minor Analysis Improvements
- Flow through forced optional unwrapping (
!) is modelled more accurately. - Added flow models for
Sequence.withContiguousStorageIfAvailable. - Added taint flow for
NSUserActivity.referrerURL.
0.2.1
New Features
- The
DataFlow::StateConfigSigsignature module has gained default implementations forisBarrier/2andisAdditionalFlowStep/4. Hence it is no longer needed to providenone()implementations of these predicates if they are not needed.
Minor Analysis Improvements
- Data flow configurations can now include a predicate
neverSkip(Node node)in order to ensure inclusion of certain nodes in the path explanations. The predicate defaults to the end-points of the additional flow steps provided in the configuration, which means that such steps now always are visible by default in path explanations. - The regular expression library now understands mode flags specified by
Regexmethods and theNSRegularExpressioninitializer. - The regular expression library now understands mode flags specified at the beginning of a regular expression (for example
(?is)). - Added detail to the taint model for
URL. - Added new heuristics to
SensitiveExprs.qll, enhancing detection from the library.
0.2.0
Breaking Changes
- The
BraceStmtAST node'sAstNode getElement(index)member predicate no longer returnsVarDecls after thePatternBindingDeclthat declares them. Instead, a newVarDecl getVariable(index)predicate has been introduced for accessing the variables declared in aBraceStmt.
New Features
- Added new libraries
Regex.qllandRegexTreeView.qllfor reasoning about regular expressions in Swift code and places where they are evaluated.
Minor Analysis Improvements
- Added a data flow model for
swap(_:_:).
0.1.2
No user-facing changes.
0.1.1
Major Analysis Improvements
- Incorporated the cross-language
SensitiveDataHeuristics.qllheuristics library into the SwiftSensitiveExprs.qlllibrary. This adds a number of new heuristics enhancing detection from the library.
Minor Analysis Improvements
- Some models for the
Dataclass have been generalized toDataProtocolso that they apply more widely.
Bug Fixes
- Fixed a number of inconsistencies in the abstract syntax tree (AST) and in the control-flow graph (CFG). This may lead to more results in queries that use these libraries, or libraries that depend on them (such as dataflow).