Skip to content

Commit e009997

Browse files
committed
Update expected test output for changed model
1 parent 1dea92a commit e009997

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

‎go/ql/test/query-tests/Security/CWE-079/ReflectedXss.expected‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,11 @@ edges
5858
| reflectedxsstest.go:51:14:51:18 | selection of URL | reflectedxsstest.go:51:14:51:26 | call to Query | provenance | Src:MaD:10 MaD:17 |
5959
| reflectedxsstest.go:51:14:51:26 | call to Query | reflectedxsstest.go:54:11:54:21 | type conversion | provenance | |
6060
| tst.go:14:15:14:20 | selection of Form | tst.go:14:15:14:36 | call to Get | provenance | Src:MaD:6 MaD:18 |
61-
| tst.go:14:15:14:36 | call to Get | tst.go:18:32:18:32 | a | provenance | |
61+
| tst.go:14:15:14:36 | call to Get | tst.go:17:18:17:25 | username | provenance | |
62+
| tst.go:17:9:17:57 | slice literal [array] | tst.go:18:32:18:32 | a [array] | provenance | |
63+
| tst.go:17:18:17:25 | username | tst.go:17:9:17:57 | slice literal [array] | provenance | |
6264
| tst.go:18:19:18:38 | call to Join | tst.go:18:12:18:39 | type conversion | provenance | |
63-
| tst.go:18:32:18:32 | a | tst.go:18:19:18:38 | call to Join | provenance | MaD:19 |
65+
| tst.go:18:32:18:32 | a [array] | tst.go:18:19:18:38 | call to Join | provenance | MaD:19 |
6466
| tst.go:48:14:48:19 | selection of Form | tst.go:48:14:48:34 | call to Get | provenance | Src:MaD:6 MaD:18 |
6567
| tst.go:48:14:48:34 | call to Get | tst.go:53:12:53:26 | type conversion | provenance | |
6668
| websocketXss.go:31:11:31:14 | xnet [postupdate] | websocketXss.go:32:24:32:27 | xnet | provenance | Src:MaD:5 |
@@ -88,7 +90,7 @@ models
8890
| 16 | Summary: mime/multipart; Reader; true; NextPart; ; ; Argument[receiver]; ReturnValue[0]; taint; manual |
8991
| 17 | Summary: net/url; URL; true; Query; ; ; Argument[receiver]; ReturnValue; taint; manual |
9092
| 18 | Summary: net/url; Values; true; Get; ; ; Argument[receiver]; ReturnValue; taint; manual |
91-
| 19 | Summary: strings; ; false; Join; ; ; Argument[0..1]; ReturnValue; taint; manual |
93+
| 19 | Summary: strings; ; false; Join; ; ; Argument[0].ArrayElement; ReturnValue; taint; manual |
9294
nodes
9395
| ReflectedXss.go:11:15:11:20 | selection of Form | semmle.label | selection of Form |
9496
| ReflectedXss.go:11:15:11:36 | call to Get | semmle.label | call to Get |
@@ -137,9 +139,11 @@ nodes
137139
| reflectedxsstest.go:54:11:54:21 | type conversion | semmle.label | type conversion |
138140
| tst.go:14:15:14:20 | selection of Form | semmle.label | selection of Form |
139141
| tst.go:14:15:14:36 | call to Get | semmle.label | call to Get |
142+
| tst.go:17:9:17:57 | slice literal [array] | semmle.label | slice literal [array] |
143+
| tst.go:17:18:17:25 | username | semmle.label | username |
140144
| tst.go:18:12:18:39 | type conversion | semmle.label | type conversion |
141145
| tst.go:18:19:18:38 | call to Join | semmle.label | call to Join |
142-
| tst.go:18:32:18:32 | a | semmle.label | a |
146+
| tst.go:18:32:18:32 | a [array] | semmle.label | a [array] |
143147
| tst.go:48:14:48:19 | selection of Form | semmle.label | selection of Form |
144148
| tst.go:48:14:48:34 | call to Get | semmle.label | call to Get |
145149
| tst.go:53:12:53:26 | type conversion | semmle.label | type conversion |

0 commit comments

Comments
 (0)