Skip to content

Commit cc8fe10

Browse files
committed
JS: Update locations in expected files
1 parent d117c52 commit cc8fe10

File tree

75 files changed

+3337
-3337
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+3337
-3337
lines changed

javascript/ql/test/experimental/FormParsers/RemoteFlowSource.expected

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
edges
22
| busybus.js:9:30:9:33 | file | busybus.js:13:23:13:23 | z | provenance | |
33
| busybus.js:9:36:9:39 | info | busybus.js:10:54:10:57 | info | provenance | |
4-
| busybus.js:10:19:10:50 | { filen ... eType } | busybus.js:10:19:10:57 | encoding | provenance | |
5-
| busybus.js:10:19:10:50 | { filen ... eType } | busybus.js:10:19:10:57 | filename | provenance | |
6-
| busybus.js:10:19:10:50 | { filen ... eType } | busybus.js:10:19:10:57 | mimeType | provenance | |
7-
| busybus.js:10:19:10:57 | encoding | busybus.js:12:28:12:35 | encoding | provenance | |
8-
| busybus.js:10:19:10:57 | filename | busybus.js:12:18:12:25 | filename | provenance | |
9-
| busybus.js:10:19:10:57 | mimeType | busybus.js:12:38:12:45 | mimeType | provenance | |
4+
| busybus.js:10:19:10:50 | { filen ... eType } | busybus.js:10:21:10:28 | filename | provenance | |
5+
| busybus.js:10:19:10:50 | { filen ... eType } | busybus.js:10:31:10:38 | encoding | provenance | |
6+
| busybus.js:10:19:10:50 | { filen ... eType } | busybus.js:10:41:10:48 | mimeType | provenance | |
7+
| busybus.js:10:21:10:28 | filename | busybus.js:12:18:12:25 | filename | provenance | |
8+
| busybus.js:10:31:10:38 | encoding | busybus.js:12:28:12:35 | encoding | provenance | |
9+
| busybus.js:10:41:10:48 | mimeType | busybus.js:12:38:12:45 | mimeType | provenance | |
1010
| busybus.js:10:54:10:57 | info | busybus.js:10:19:10:50 | { filen ... eType } | provenance | |
1111
| busybus.js:13:23:13:23 | z | busybus.js:13:31:13:36 | sink() | provenance | |
1212
| busybus.js:15:30:15:33 | data | busybus.js:16:22:16:25 | data | provenance | |
13-
| busybus.js:22:25:22:42 | data | busybus.js:23:26:23:29 | data | provenance | |
14-
| busybus.js:22:32:22:42 | this.read() | busybus.js:22:25:22:42 | data | provenance | |
13+
| busybus.js:22:25:22:28 | data | busybus.js:23:26:23:29 | data | provenance | |
14+
| busybus.js:22:32:22:42 | this.read() | busybus.js:22:25:22:28 | data | provenance | |
1515
| busybus.js:27:25:27:28 | name | busybus.js:28:18:28:21 | name | provenance | |
1616
| busybus.js:27:31:27:33 | val | busybus.js:28:24:28:26 | val | provenance | |
1717
| busybus.js:27:36:27:39 | info | busybus.js:28:29:28:32 | info | provenance | |
1818
| dicer.js:12:23:12:26 | part | dicer.js:13:19:13:24 | sink() | provenance | |
1919
| dicer.js:14:28:14:33 | header | dicer.js:16:22:16:27 | header | provenance | |
2020
| dicer.js:16:22:16:27 | header | dicer.js:16:22:16:30 | header[h] | provenance | |
2121
| dicer.js:19:26:19:29 | data | dicer.js:20:18:20:21 | data | provenance | |
22-
| formidable.js:7:11:7:25 | [fields, files] | formidable.js:7:11:7:49 | fields | provenance | |
23-
| formidable.js:7:11:7:25 | [fields, files] | formidable.js:7:11:7:49 | files | provenance | |
24-
| formidable.js:7:11:7:49 | fields | formidable.js:8:10:8:15 | fields | provenance | |
25-
| formidable.js:7:11:7:49 | files | formidable.js:8:18:8:22 | files | provenance | |
22+
| formidable.js:7:11:7:25 | [fields, files] | formidable.js:7:12:7:17 | fields | provenance | |
23+
| formidable.js:7:11:7:25 | [fields, files] | formidable.js:7:20:7:24 | files | provenance | |
24+
| formidable.js:7:12:7:17 | fields | formidable.js:8:10:8:15 | fields | provenance | |
25+
| formidable.js:7:20:7:24 | files | formidable.js:8:18:8:22 | files | provenance | |
2626
| formidable.js:7:29:7:49 | await f ... se(req) | formidable.js:7:11:7:25 | [fields, files] | provenance | |
2727
| formidable.js:7:35:7:49 | form.parse(req) | formidable.js:7:29:7:49 | await f ... se(req) | provenance | |
2828
| formidable.js:9:27:9:34 | formname | formidable.js:10:14:10:21 | formname | provenance | |
@@ -39,9 +39,9 @@ nodes
3939
| busybus.js:9:30:9:33 | file | semmle.label | file |
4040
| busybus.js:9:36:9:39 | info | semmle.label | info |
4141
| busybus.js:10:19:10:50 | { filen ... eType } | semmle.label | { filen ... eType } |
42-
| busybus.js:10:19:10:57 | encoding | semmle.label | encoding |
43-
| busybus.js:10:19:10:57 | filename | semmle.label | filename |
44-
| busybus.js:10:19:10:57 | mimeType | semmle.label | mimeType |
42+
| busybus.js:10:21:10:28 | filename | semmle.label | filename |
43+
| busybus.js:10:31:10:38 | encoding | semmle.label | encoding |
44+
| busybus.js:10:41:10:48 | mimeType | semmle.label | mimeType |
4545
| busybus.js:10:54:10:57 | info | semmle.label | info |
4646
| busybus.js:12:18:12:25 | filename | semmle.label | filename |
4747
| busybus.js:12:28:12:35 | encoding | semmle.label | encoding |
@@ -50,7 +50,7 @@ nodes
5050
| busybus.js:13:31:13:36 | sink() | semmle.label | sink() |
5151
| busybus.js:15:30:15:33 | data | semmle.label | data |
5252
| busybus.js:16:22:16:25 | data | semmle.label | data |
53-
| busybus.js:22:25:22:42 | data | semmle.label | data |
53+
| busybus.js:22:25:22:28 | data | semmle.label | data |
5454
| busybus.js:22:32:22:42 | this.read() | semmle.label | this.read() |
5555
| busybus.js:23:26:23:29 | data | semmle.label | data |
5656
| busybus.js:27:25:27:28 | name | semmle.label | name |
@@ -67,8 +67,8 @@ nodes
6767
| dicer.js:19:26:19:29 | data | semmle.label | data |
6868
| dicer.js:20:18:20:21 | data | semmle.label | data |
6969
| formidable.js:7:11:7:25 | [fields, files] | semmle.label | [fields, files] |
70-
| formidable.js:7:11:7:49 | fields | semmle.label | fields |
71-
| formidable.js:7:11:7:49 | files | semmle.label | files |
70+
| formidable.js:7:12:7:17 | fields | semmle.label | fields |
71+
| formidable.js:7:20:7:24 | files | semmle.label | files |
7272
| formidable.js:7:29:7:49 | await f ... se(req) | semmle.label | await f ... se(req) |
7373
| formidable.js:7:35:7:49 | form.parse(req) | semmle.label | form.parse(req) |
7474
| formidable.js:8:10:8:15 | fields | semmle.label | fields |

javascript/ql/test/experimental/Security/CWE-094-dataURL/CodeInjection.expected

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
edges
2-
| test.js:5:11:5:44 | payload | test.js:6:30:6:36 | payload | provenance | |
3-
| test.js:5:11:5:44 | payload | test.js:9:26:9:32 | payload | provenance | |
4-
| test.js:5:21:5:44 | req.que ... rameter | test.js:5:11:5:44 | payload | provenance | |
5-
| test.js:6:9:6:43 | payloadURL | test.js:7:16:7:25 | payloadURL | provenance | |
6-
| test.js:6:22:6:43 | new URL ... + sth) | test.js:6:9:6:43 | payloadURL | provenance | |
2+
| test.js:5:11:5:17 | payload | test.js:6:30:6:36 | payload | provenance | |
3+
| test.js:5:11:5:17 | payload | test.js:9:26:9:32 | payload | provenance | |
4+
| test.js:5:21:5:44 | req.que ... rameter | test.js:5:11:5:17 | payload | provenance | |
5+
| test.js:6:9:6:18 | payloadURL | test.js:7:16:7:25 | payloadURL | provenance | |
6+
| test.js:6:22:6:43 | new URL ... + sth) | test.js:6:9:6:18 | payloadURL | provenance | |
77
| test.js:6:30:6:36 | payload | test.js:6:30:6:42 | payload + sth | provenance | |
88
| test.js:6:30:6:42 | payload + sth | test.js:6:22:6:43 | new URL ... + sth) | provenance | Config |
9-
| test.js:9:5:9:39 | payloadURL | test.js:10:16:10:25 | payloadURL | provenance | |
10-
| test.js:9:18:9:39 | new URL ... + sth) | test.js:9:5:9:39 | payloadURL | provenance | |
9+
| test.js:9:5:9:14 | payloadURL | test.js:10:16:10:25 | payloadURL | provenance | |
10+
| test.js:9:18:9:39 | new URL ... + sth) | test.js:9:5:9:14 | payloadURL | provenance | |
1111
| test.js:9:26:9:32 | payload | test.js:9:26:9:38 | payload + sth | provenance | |
1212
| test.js:9:26:9:38 | payload + sth | test.js:9:18:9:39 | new URL ... + sth) | provenance | Config |
13-
| test.js:17:11:17:44 | payload | test.js:18:18:18:24 | payload | provenance | |
14-
| test.js:17:11:17:44 | payload | test.js:19:18:19:24 | payload | provenance | |
15-
| test.js:17:21:17:44 | req.que ... rameter | test.js:17:11:17:44 | payload | provenance | |
13+
| test.js:17:11:17:17 | payload | test.js:18:18:18:24 | payload | provenance | |
14+
| test.js:17:11:17:17 | payload | test.js:19:18:19:24 | payload | provenance | |
15+
| test.js:17:21:17:44 | req.que ... rameter | test.js:17:11:17:17 | payload | provenance | |
1616
| test.js:19:18:19:24 | payload | test.js:19:18:19:30 | payload + sth | provenance | |
1717
nodes
18-
| test.js:5:11:5:44 | payload | semmle.label | payload |
18+
| test.js:5:11:5:17 | payload | semmle.label | payload |
1919
| test.js:5:21:5:44 | req.que ... rameter | semmle.label | req.que ... rameter |
20-
| test.js:6:9:6:43 | payloadURL | semmle.label | payloadURL |
20+
| test.js:6:9:6:18 | payloadURL | semmle.label | payloadURL |
2121
| test.js:6:22:6:43 | new URL ... + sth) | semmle.label | new URL ... + sth) |
2222
| test.js:6:30:6:36 | payload | semmle.label | payload |
2323
| test.js:6:30:6:42 | payload + sth | semmle.label | payload + sth |
2424
| test.js:7:16:7:25 | payloadURL | semmle.label | payloadURL |
25-
| test.js:9:5:9:39 | payloadURL | semmle.label | payloadURL |
25+
| test.js:9:5:9:14 | payloadURL | semmle.label | payloadURL |
2626
| test.js:9:18:9:39 | new URL ... + sth) | semmle.label | new URL ... + sth) |
2727
| test.js:9:26:9:32 | payload | semmle.label | payload |
2828
| test.js:9:26:9:38 | payload + sth | semmle.label | payload + sth |
2929
| test.js:10:16:10:25 | payloadURL | semmle.label | payloadURL |
30-
| test.js:17:11:17:44 | payload | semmle.label | payload |
30+
| test.js:17:11:17:17 | payload | semmle.label | payload |
3131
| test.js:17:21:17:44 | req.que ... rameter | semmle.label | req.que ... rameter |
3232
| test.js:18:18:18:24 | payload | semmle.label | payload |
3333
| test.js:19:18:19:24 | payload | semmle.label | payload |

javascript/ql/test/experimental/Security/CWE-099/EnvValueAndKeyInjection/EnvValueAndKeyInjection.expected

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
edges
2-
| test.js:5:9:5:28 | { EnvValue, EnvKey } | test.js:5:9:5:39 | EnvKey | provenance | |
3-
| test.js:5:9:5:28 | { EnvValue, EnvKey } | test.js:5:9:5:39 | EnvValue | provenance | |
4-
| test.js:5:9:5:39 | EnvKey | test.js:6:15:6:20 | EnvKey | provenance | |
5-
| test.js:5:9:5:39 | EnvKey | test.js:7:15:7:20 | EnvKey | provenance | |
6-
| test.js:5:9:5:39 | EnvValue | test.js:6:25:6:32 | EnvValue | provenance | |
7-
| test.js:5:9:5:39 | EnvValue | test.js:7:25:7:32 | EnvValue | provenance | |
2+
| test.js:5:9:5:28 | { EnvValue, EnvKey } | test.js:5:11:5:18 | EnvValue | provenance | |
3+
| test.js:5:9:5:28 | { EnvValue, EnvKey } | test.js:5:21:5:26 | EnvKey | provenance | |
4+
| test.js:5:11:5:18 | EnvValue | test.js:6:25:6:32 | EnvValue | provenance | |
5+
| test.js:5:11:5:18 | EnvValue | test.js:7:25:7:32 | EnvValue | provenance | |
6+
| test.js:5:21:5:26 | EnvKey | test.js:6:15:6:20 | EnvKey | provenance | |
7+
| test.js:5:21:5:26 | EnvKey | test.js:7:15:7:20 | EnvKey | provenance | |
88
| test.js:5:32:5:39 | req.body | test.js:5:9:5:28 | { EnvValue, EnvKey } | provenance | |
9-
| test.js:13:9:13:28 | { EnvValue, EnvKey } | test.js:13:9:13:39 | EnvKey | provenance | |
10-
| test.js:13:9:13:28 | { EnvValue, EnvKey } | test.js:13:9:13:39 | EnvValue | provenance | |
11-
| test.js:13:9:13:39 | EnvKey | test.js:15:15:15:20 | EnvKey | provenance | |
12-
| test.js:13:9:13:39 | EnvValue | test.js:16:26:16:33 | EnvValue | provenance | |
9+
| test.js:13:9:13:28 | { EnvValue, EnvKey } | test.js:13:11:13:18 | EnvValue | provenance | |
10+
| test.js:13:9:13:28 | { EnvValue, EnvKey } | test.js:13:21:13:26 | EnvKey | provenance | |
11+
| test.js:13:11:13:18 | EnvValue | test.js:16:26:16:33 | EnvValue | provenance | |
12+
| test.js:13:21:13:26 | EnvKey | test.js:15:15:15:20 | EnvKey | provenance | |
1313
| test.js:13:32:13:39 | req.body | test.js:13:9:13:28 | { EnvValue, EnvKey } | provenance | |
1414
nodes
1515
| test.js:5:9:5:28 | { EnvValue, EnvKey } | semmle.label | { EnvValue, EnvKey } |
16-
| test.js:5:9:5:39 | EnvKey | semmle.label | EnvKey |
17-
| test.js:5:9:5:39 | EnvValue | semmle.label | EnvValue |
16+
| test.js:5:11:5:18 | EnvValue | semmle.label | EnvValue |
17+
| test.js:5:21:5:26 | EnvKey | semmle.label | EnvKey |
1818
| test.js:5:32:5:39 | req.body | semmle.label | req.body |
1919
| test.js:6:15:6:20 | EnvKey | semmle.label | EnvKey |
2020
| test.js:6:25:6:32 | EnvValue | semmle.label | EnvValue |
2121
| test.js:7:15:7:20 | EnvKey | semmle.label | EnvKey |
2222
| test.js:7:25:7:32 | EnvValue | semmle.label | EnvValue |
2323
| test.js:13:9:13:28 | { EnvValue, EnvKey } | semmle.label | { EnvValue, EnvKey } |
24-
| test.js:13:9:13:39 | EnvKey | semmle.label | EnvKey |
25-
| test.js:13:9:13:39 | EnvValue | semmle.label | EnvValue |
24+
| test.js:13:11:13:18 | EnvValue | semmle.label | EnvValue |
25+
| test.js:13:21:13:26 | EnvKey | semmle.label | EnvKey |
2626
| test.js:13:32:13:39 | req.body | semmle.label | req.body |
2727
| test.js:15:15:15:20 | EnvKey | semmle.label | EnvKey |
2828
| test.js:16:26:16:33 | EnvValue | semmle.label | EnvValue |

javascript/ql/test/experimental/Security/CWE-099/EnvValueInjection/EnvValueInjection.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
edges
2-
| test.js:4:9:4:20 | { EnvValue } | test.js:4:9:4:31 | EnvValue | provenance | |
3-
| test.js:4:9:4:31 | EnvValue | test.js:5:35:5:42 | EnvValue | provenance | |
4-
| test.js:4:9:4:31 | EnvValue | test.js:6:23:6:30 | EnvValue | provenance | |
5-
| test.js:4:9:4:31 | EnvValue | test.js:7:22:7:29 | EnvValue | provenance | |
2+
| test.js:4:9:4:20 | { EnvValue } | test.js:4:11:4:18 | EnvValue | provenance | |
3+
| test.js:4:11:4:18 | EnvValue | test.js:5:35:5:42 | EnvValue | provenance | |
4+
| test.js:4:11:4:18 | EnvValue | test.js:6:23:6:30 | EnvValue | provenance | |
5+
| test.js:4:11:4:18 | EnvValue | test.js:7:22:7:29 | EnvValue | provenance | |
66
| test.js:4:24:4:31 | req.body | test.js:4:9:4:20 | { EnvValue } | provenance | |
77
nodes
88
| test.js:4:9:4:20 | { EnvValue } | semmle.label | { EnvValue } |
9-
| test.js:4:9:4:31 | EnvValue | semmle.label | EnvValue |
9+
| test.js:4:11:4:18 | EnvValue | semmle.label | EnvValue |
1010
| test.js:4:24:4:31 | req.body | semmle.label | req.body |
1111
| test.js:5:35:5:42 | EnvValue | semmle.label | EnvValue |
1212
| test.js:6:23:6:30 | EnvValue | semmle.label | EnvValue |

0 commit comments

Comments
 (0)