File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
powershell/ql/test/library-tests/dataflow/global Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 11models
22edges
3+ | test.ps1:2:14:2:23 | Call to source | test.ps1:5:25:7:1 | <initial env var> env:x | provenance | |
4+ | test.ps1:5:25:7:1 | <initial env var> env:x | test.ps1:6:5:6:15 | env:x | provenance | |
5+ | test.ps1:16:18:16:27 | Call to source | test.ps1:5:25:7:1 | <initial env var> env:x | provenance | |
36nodes
7+ | test.ps1:2:14:2:23 | Call to source | semmle.label | Call to source |
8+ | test.ps1:5:25:7:1 | <initial env var> env:x | semmle.label | <initial env var> env:x |
9+ | test.ps1:6:5:6:15 | env:x | semmle.label | env:x |
10+ | test.ps1:16:18:16:27 | Call to source | semmle.label | Call to source |
411subpaths
512testFailures
613#select
14+ | test.ps1:6:5:6:15 | env:x | test.ps1:2:14:2:23 | Call to source | test.ps1:6:5:6:15 | env:x | $@ | test.ps1:2:14:2:23 | Call to source | Call to source |
15+ | test.ps1:6:5:6:15 | env:x | test.ps1:16:18:16:27 | Call to source | test.ps1:6:5:6:15 | env:x | $@ | test.ps1:16:18:16:27 | Call to source | Call to source |
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ function WriteToEnvVar {
33}
44
55function ReadFromEndVar {
6- Sink $Env: x # $ MISSING: hasValueFlow=1 hasValueFlow=3
6+ Sink $Env: x # $ hasValueFlow=1 hasValueFlow=3
77}
88
99function WriteAndThenOverWriteEnvVar {
You can’t perform that action at this time.
0 commit comments