Merge pull request #9214 from hvitved/dataflow/lambda-fp-flow

Data flow: Do not discard call context when computing reverse lambda flow through jumps
This commit is contained in:
Anders Schack-Mulligen
2022-05-23 10:02:51 +02:00
committed by GitHub
8 changed files with 27 additions and 18 deletions

View File

@@ -216,10 +216,9 @@ private module LambdaFlow {
or
// jump step
exists(Node mid, DataFlowType t0 |
revLambdaFlow(lambdaCall, kind, mid, t0, _, _, _) and
revLambdaFlow(lambdaCall, kind, mid, t0, _, _, lastCall) and
toReturn = false and
toJump = true and
lastCall = TDataFlowCallNone()
toJump = true
|
jumpStepCached(node, mid) and
t = t0