Propagate data flow through NewExprs

This commit is contained in:
Pavel Avgustinov
2019-07-10 11:19:28 +01:00
committed by Jonas Jensen
parent 623652247d
commit 66164eb06f

View File

@@ -376,6 +376,8 @@ private predicate exprToExprStep_nocfg(Expr fromExpr, Expr toExpr) {
or
toExpr = any(StmtExpr stmtExpr | fromExpr = stmtExpr.getResultExpr())
or
toExpr.(NewExpr).getInitializer() = fromExpr
or
toExpr = any(Call call |
exists(DataFlowFunction f, FunctionInput inModel, FunctionOutput outModel, int iIn |
call.getTarget() = f and