mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
Merge pull request #1047 from jbj/dataflow-StmtExpr
C++: Data flow through StmtExpr
This commit is contained in:
@@ -275,6 +275,10 @@ private predicate exprToExprStep_nocfg(Expr fromExpr, Expr toExpr) {
|
||||
fromExpr = op.getOperand()
|
||||
)
|
||||
or
|
||||
toExpr = any(StmtExpr stmtExpr |
|
||||
fromExpr = stmtExpr.getResultExpr()
|
||||
)
|
||||
or
|
||||
toExpr = any(Call call |
|
||||
exists(DataFlowFunction f, FunctionInput inModel , FunctionOutput outModel, int iIn |
|
||||
call.getTarget() = f and
|
||||
|
||||
Reference in New Issue
Block a user