File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
powershell/ql/test/library-tests/dataflow/params Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change
1
+ param ([string ]$Source )
2
+
3
+ Sink $Source # $ hasValueFlow
Original file line number Diff line number Diff line change 1
1
models
2
2
edges
3
+ | global.ps1:1:7:1:22 | Source | global.ps1:3:6:3:13 | Source | provenance | |
3
4
| test.ps1:1:14:1:16 | a | test.ps1:2:10:2:12 | a | provenance | |
4
5
| test.ps1:5:6:5:16 | Source | test.ps1:6:5:6:7 | x | provenance | |
5
6
| test.ps1:6:5:6:7 | x | test.ps1:1:14:1:16 | a | provenance | |
@@ -139,6 +140,8 @@ edges
139
140
| test.ps1:39:24:39:31 | second | test.ps1:8:24:8:26 | y | provenance | |
140
141
| test.ps1:39:32:39:38 | first | test.ps1:8:20:8:22 | x | provenance | |
141
142
nodes
143
+ | global.ps1:1:7:1:22 | Source | semmle.label | Source |
144
+ | global.ps1:3:6:3:13 | Source | semmle.label | Source |
142
145
| test.ps1:1:14:1:16 | a | semmle.label | a |
143
146
| test.ps1:2:10:2:12 | a | semmle.label | a |
144
147
| test.ps1:5:6:5:16 | Source | semmle.label | Source |
@@ -221,6 +224,7 @@ nodes
221
224
subpaths
222
225
testFailures
223
226
#select
227
+ | global.ps1:3:6:3:13 | Source | global.ps1:1:7:1:22 | Source | global.ps1:3:6:3:13 | Source | $@ | global.ps1:1:7:1:22 | Source | Source |
224
228
| test.ps1:2:10:2:12 | a | test.ps1:5:6:5:16 | Source | test.ps1:2:10:2:12 | a | $@ | test.ps1:5:6:5:16 | Source | Source |
225
229
| test.ps1:9:10:9:12 | x | test.ps1:14:10:14:20 | Source | test.ps1:9:10:9:12 | x | $@ | test.ps1:14:10:14:20 | Source | Source |
226
230
| test.ps1:10:10:10:12 | y | test.ps1:15:11:15:21 | Source | test.ps1:10:10:10:12 | y | $@ | test.ps1:15:11:15:21 | Source | Source |
You can’t perform that action at this time.
0 commit comments