File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
lib/semmle/code/powershell/dataflow/internal
test/library-tests/dataflow/local Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ module LocalFlow {
102
102
or
103
103
nodeFrom .asExpr ( ) = nodeTo .asStmt ( ) .( CfgNodes:: StmtNodes:: CmdExprCfgNode ) .getExpr ( )
104
104
or
105
+ nodeFrom .asExpr ( ) = nodeTo .asExpr ( ) .( CfgNodes:: ExprNodes:: ConvertCfgNode ) .getBase ( )
106
+ or
105
107
exists (
106
108
CfgNodes:: ExprNodes:: ArrayExprCfgNode arrayExpr , EscapeContainer:: EscapeContainer container
107
109
|
Original file line number Diff line number Diff line change 20
20
| test.ps1:10:6:10:16 | [...]... | test.ps1:10:1:10:3 | c |
21
21
| test.ps1:10:6:10:16 | [...]... | test.ps1:10:1:10:16 | ...=... |
22
22
| 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 | [...]... |
23
24
| test.ps1:11:1:11:8 | Sink | test.ps1:11:1:11:8 | pre-return value for Sink |
24
25
| test.ps1:11:1:11:8 | Sink | test.ps1:11:1:11:8 | pre-return value for Sink |
25
26
| 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