mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
1.5 KiB
1.5 KiB
0.5.0
Minor Analysis Improvements
- Added more dataflow models for frequently-used JDK APIs.
- The extraction of Kotlin extension methods has been improved when default parameter values are present. The dispatch and extension receiver parameters are extracted in the correct order. The
ExtensionMethod::getExtensionReceiverParameterIndexpredicate has been introduced to facilitate getting the correct extension parameter index. - The query
java/insecure-cookienow uses global dataflow to track secure cookies being set to the HTTP response object. - The library
PathSanitizer.qllhas been improved to detect more path validation patterns in Kotlin. - Models as Data models for Java are defined as data extensions instead of being inlined in the code. New models should be added in the
lib/extfolder. - Added a taint model for the method
java.nio.file.Path.getParent. - Fixed a problem in the taint model for the method
java.nio.file.Paths.get. - Deleted the deprecated
LocalClassDeclStmtNodeandLocalClassDeclStmtclasses fromPrintAst.qllandStatement.qllrespectively. - Deleted the deprecated
getLocalClasspredicate fromLocalTypeDeclStmt, and the deprecatedgetLocalClassDeclStmtpredicate fromLocalClassOrInterface. - Added support for Android Manifest
<activity-aliases>elements in data flow sources.
Bug Fixes
- We now correctly handle empty block comments, like
/**/. Previously these could be mistaken for Javadoc comments and led to attribution of Javadoc tags to the wrong declaration.