Skip to content

Commit 1470f9f

Browse files
authored
Merge pull request #677 from aschackmull/java/change-note-cfg-cast
Approved by felicity-semmle
2 parents be5ac2f + 2150af9 commit 1470f9f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

change-notes/1.19/analysis-java.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ to run queries and explore the data flow in results.
2626

2727
## Changes to QL libraries
2828

29+
* The class `ControlFlowNode` (and by extension `BasicBlock`) has until now
30+
been directly equatable to `Expr` and `Stmt`. Exploiting these equalities,
31+
for example by using casts, is now deprecated, and the conversions
32+
`Expr.getControlFlowNode()` and `Stmt.getControlFlowNode()` should be used
33+
instead.
2934
* The default set of taint sources in the `FlowSources` library is extended to
3035
cover parameters annotated with Spring framework annotations indicating
3136
remote user input from servlets. This affects all security queries, which

0 commit comments

Comments
 (0)