mirror of
https://github.com/github/codeql.git
synced 2026-02-28 21:03:50 +01:00
1.2 KiB
1.2 KiB
8.1.0
Deprecated APIs
- The
UnreachableBlocks.qlllibrary has been deprecated. - Renamed the following predicates to increase uniformity across languages. The
getBodypredicate already existed onLoopStmt, but is now properly inherited.UnaryExpr.getExprtogetOperand.ConditionalExpr.getTrueExprtogetThen.ConditionalExpr.getFalseExprtogetElse.ReturnStmt.getResulttogetExpr.WhileStmt.getStmttogetBody.DoStmt.getStmttogetBody.ForStmt.getStmttogetBody.EnhancedForStmt.getStmttogetBody.
Minor Analysis Improvements
- Using a regular expression to check that a string doesn't contain any line breaks is already a sanitizer for
java/log-injection. Additional ways of doing the regular expression check are now recognised, including annotation with@javax.validation.constraints.Pattern. - More ways of checking that a string matches a regular expression are now considered as sanitizers for various queries, including
java/ssrfandjava/path-injection. In particular, being annotated with@javax.validation.constraints.Patternis now recognised as a sanitizer for those queries. - Kotlin versions up to 2.3.10 are now supported.