We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48ab5b2 commit d4c9fddCopy full SHA for d4c9fdd
java/ql/lib/semmle/code/java/dataflow/internal/DataFlowUtil.qll
@@ -75,7 +75,9 @@ private module ThisFlow {
75
* local (intra-procedural) steps.
76
*/
77
pragma[inline]
78
-predicate localFlow(Node node1, Node node2) { localFlowStep*(node1, node2) }
+predicate localFlow(Node node1, Node node2) { node1 = node2 or localFlowStepPlus(node1, node2) }
79
+
80
+private predicate localFlowStepPlus(Node node1, Node node2) = fastTC(localFlowStep/2)(node1, node2)
81
82
/**
83
* Holds if data can flow from `e1` to `e2` in zero or more
0 commit comments