File tree Expand file tree Collapse file tree
lib/semmle/code/powershell/dataflow/internal
test/library-tests/dataflow/local Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ module LocalFlow {
102102 or
103103 nodeFrom .asExpr ( ) = nodeTo .asStmt ( ) .( CfgNodes:: StmtNodes:: CmdExprCfgNode ) .getExpr ( )
104104 or
105+ nodeFrom .asExpr ( ) = nodeTo .asExpr ( ) .( CfgNodes:: ExprNodes:: ConvertCfgNode ) .getBase ( )
106+ or
105107 exists (
106108 CfgNodes:: ExprNodes:: ArrayExprCfgNode arrayExpr , EscapeContainer:: EscapeContainer container
107109 |
Original file line number Diff line number Diff line change 2020| test.ps1:10:6:10:16 | [...]... | test.ps1:10:1:10:3 | c |
2121| test.ps1:10:6:10:16 | [...]... | test.ps1:10:1:10:16 | ...=... |
2222| test.ps1:10:6:10:16 | [...]... | test.ps1:10:6:10:16 | [...]... |
23+ | test.ps1:10:14:10:16 | b | test.ps1:10:6:10:16 | [...]... |
2324| test.ps1:11:1:11:8 | Sink | test.ps1:11:1:11:8 | pre-return value for Sink |
2425| test.ps1:11:1:11:8 | Sink | test.ps1:11:1:11:8 | pre-return value for Sink |
2526| test.ps1:11:1:11:8 | implicit unwrapping of Sink | test.ps1:1:1:11:8 | return value for test.ps1 |
You can’t perform that action at this time.
0 commit comments