Skip to content

Commit f83deb6

Browse files
committed
Data flow: Sync files
1 parent a18aef2 commit f83deb6

File tree

5 files changed

+10
-15
lines changed

5 files changed

+10
-15
lines changed

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImplCommon.qll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,9 @@ private module LambdaFlow {
216216
or
217217
// jump step
218218
exists(Node mid, DataFlowType t0 |
219-
revLambdaFlow(lambdaCall, kind, mid, t0, _, _, _) and
219+
revLambdaFlow(lambdaCall, kind, mid, t0, _, _, lastCall) and
220220
toReturn = false and
221-
toJump = true and
222-
lastCall = TDataFlowCallNone()
221+
toJump = true
223222
|
224223
jumpStepCached(node, mid) and
225224
t = t0

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImplCommon.qll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,9 @@ private module LambdaFlow {
216216
or
217217
// jump step
218218
exists(Node mid, DataFlowType t0 |
219-
revLambdaFlow(lambdaCall, kind, mid, t0, _, _, _) and
219+
revLambdaFlow(lambdaCall, kind, mid, t0, _, _, lastCall) and
220220
toReturn = false and
221-
toJump = true and
222-
lastCall = TDataFlowCallNone()
221+
toJump = true
223222
|
224223
jumpStepCached(node, mid) and
225224
t = t0

csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImplCommon.qll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,9 @@ private module LambdaFlow {
216216
or
217217
// jump step
218218
exists(Node mid, DataFlowType t0 |
219-
revLambdaFlow(lambdaCall, kind, mid, t0, _, _, _) and
219+
revLambdaFlow(lambdaCall, kind, mid, t0, _, _, lastCall) and
220220
toReturn = false and
221-
toJump = true and
222-
lastCall = TDataFlowCallNone()
221+
toJump = true
223222
|
224223
jumpStepCached(node, mid) and
225224
t = t0

java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImplCommon.qll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,9 @@ private module LambdaFlow {
216216
or
217217
// jump step
218218
exists(Node mid, DataFlowType t0 |
219-
revLambdaFlow(lambdaCall, kind, mid, t0, _, _, _) and
219+
revLambdaFlow(lambdaCall, kind, mid, t0, _, _, lastCall) and
220220
toReturn = false and
221-
toJump = true and
222-
lastCall = TDataFlowCallNone()
221+
toJump = true
223222
|
224223
jumpStepCached(node, mid) and
225224
t = t0

python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImplCommon.qll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,9 @@ private module LambdaFlow {
216216
or
217217
// jump step
218218
exists(Node mid, DataFlowType t0 |
219-
revLambdaFlow(lambdaCall, kind, mid, t0, _, _, _) and
219+
revLambdaFlow(lambdaCall, kind, mid, t0, _, _, lastCall) and
220220
toReturn = false and
221-
toJump = true and
222-
lastCall = TDataFlowCallNone()
221+
toJump = true
223222
|
224223
jumpStepCached(node, mid) and
225224
t = t0

0 commit comments

Comments
 (0)