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 1
1
models
2
2
edges
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 | |
3
6
nodes
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 |
4
11
subpaths
5
12
testFailures
6
13
#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 {
3
3
}
4
4
5
5
function ReadFromEndVar {
6
- Sink $Env: x # $ MISSING: hasValueFlow=1 hasValueFlow=3
6
+ Sink $Env: x # $ hasValueFlow=1 hasValueFlow=3
7
7
}
8
8
9
9
function WriteAndThenOverWriteEnvVar {
You can’t perform that action at this time.
0 commit comments