Skip to content

Commit 68ffd52

Browse files
committed
update expected output
1 parent b4b0569 commit 68ffd52

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

javascript/ql/test/library-tests/Arrays/DataFlow.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
| arrays.js:29:21:29:28 | "source" | arrays.js:33:8:33:17 | arr5.pop() |
1111
| arrays.js:29:21:29:28 | "source" | arrays.js:35:8:35:26 | arr5.slice(2).pop() |
1212
| arrays.js:29:21:29:28 | "source" | arrays.js:41:8:41:17 | arr6.pop() |
13+
| arrays.js:44:14:44:21 | "source" | arrays.js:45:10:45:18 | ary.pop() |

javascript/ql/test/library-tests/InterProceduralFlow/DataFlow.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
| a.js:1:15:1:23 | "tainted" | b.js:6:13:6:13 | x |
33
| a.js:2:15:2:28 | "also tainted" | b.js:5:13:5:29 | notTaintedTrustMe |
44
| callback.js:16:14:16:21 | "source" | callback.js:13:14:13:14 | x |
5+
| callback.js:17:15:17:23 | "source2" | callback.js:13:14:13:14 | x |
56
| callback.js:27:15:27:23 | "source3" | callback.js:13:14:13:14 | x |
67
| destructuring.js:2:16:2:24 | "tainted" | destructuring.js:9:15:9:22 | tainted2 |
78
| destructuring.js:19:15:19:23 | "tainted" | destructuring.js:14:15:14:15 | p |
@@ -44,6 +45,7 @@
4445
| tst2.js:6:24:6:37 | "also tainted" | tst2.js:11:15:11:24 | g(source2) |
4546
| tst6.mjs:12:14:12:21 | "source" | tst6.mjs:14:12:14:16 | a.m() |
4647
| tst6.mjs:16:15:16:23 | "source2" | tst6.mjs:18:13:18:24 | a.m.call(a2) |
48+
| tst.js:2:17:2:22 | "src1" | tst.js:28:20:28:22 | elt |
4749
| tst.js:2:17:2:22 | "src1" | tst.js:39:17:39:17 | x |
4850
| tst.js:2:17:2:22 | "src1" | tst.js:41:19:41:19 | x |
4951
| tst.js:2:17:2:22 | "src1" | tst.js:45:17:45:17 | x |

javascript/ql/test/library-tests/InterProceduralFlow/GermanFlow.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
| a.js:1:15:1:23 | "tainted" | b.js:6:13:6:13 | x |
33
| a.js:2:15:2:28 | "also tainted" | b.js:5:13:5:29 | notTaintedTrustMe |
44
| callback.js:16:14:16:21 | "source" | callback.js:13:14:13:14 | x |
5+
| callback.js:17:15:17:23 | "source2" | callback.js:13:14:13:14 | x |
56
| callback.js:27:15:27:23 | "source3" | callback.js:13:14:13:14 | x |
67
| custom.js:1:14:1:26 | "verschmutzt" | custom.js:2:15:2:20 | quelle |
78
| destructuring.js:2:16:2:24 | "tainted" | destructuring.js:9:15:9:22 | tainted2 |
@@ -45,6 +46,7 @@
4546
| tst2.js:6:24:6:37 | "also tainted" | tst2.js:11:15:11:24 | g(source2) |
4647
| tst6.mjs:12:14:12:21 | "source" | tst6.mjs:14:12:14:16 | a.m() |
4748
| tst6.mjs:16:15:16:23 | "source2" | tst6.mjs:18:13:18:24 | a.m.call(a2) |
49+
| tst.js:2:17:2:22 | "src1" | tst.js:28:20:28:22 | elt |
4850
| tst.js:2:17:2:22 | "src1" | tst.js:39:17:39:17 | x |
4951
| tst.js:2:17:2:22 | "src1" | tst.js:41:19:41:19 | x |
5052
| tst.js:2:17:2:22 | "src1" | tst.js:45:17:45:17 | x |

javascript/ql/test/library-tests/InterProceduralFlow/TrackedNodes.expected

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
| missing | callback.js:17:15:17:23 | "source2" | callback.js:8:16:8:20 | xs[i] |
2+
| missing | callback.js:17:15:17:23 | "source2" | callback.js:12:16:12:16 | x |
3+
| missing | callback.js:17:15:17:23 | "source2" | callback.js:13:14:13:14 | x |
14
| missing | promises.js:1:2:1:2 | source | promises.js:6:26:6:28 | val |
25
| missing | promises.js:1:2:1:2 | source | promises.js:7:16:7:18 | val |
36
| missing | promises.js:1:2:1:2 | source | promises.js:37:11:37:11 | v |
@@ -30,3 +33,5 @@
3033
| missing | promises.js:16:7:16:21 | exceptional return of rej(rej_source) | promises.js:24:20:24:20 | v |
3134
| missing | promises.js:32:24:32:37 | "also tainted" | promises.js:37:11:37:11 | v |
3235
| missing | promises.js:32:24:32:37 | "also tainted" | promises.js:38:32:38:32 | v |
36+
| missing | tst.js:2:17:2:22 | "src1" | tst.js:27:22:27:24 | elt |
37+
| missing | tst.js:2:17:2:22 | "src1" | tst.js:28:20:28:22 | elt |

javascript/ql/test/query-tests/Security/CWE-079/Xss.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,7 @@ edges
521521
| tst.js:73:3:73:19 | document.___location | tst.js:73:3:73:26 | documen ... .search |
522522
| tst.js:73:3:73:19 | document.___location | tst.js:73:3:73:26 | documen ... .search |
523523
| tst.js:73:3:73:26 | documen ... .search | tst.js:73:1:73:27 | [,docum ... search] |
524+
| tst.js:73:3:73:26 | documen ... .search | tst.js:73:46:73:46 | x |
524525
| tst.js:73:46:73:46 | x | tst.js:76:20:76:20 | x |
525526
| tst.js:73:46:73:46 | x | tst.js:76:20:76:20 | x |
526527
| tst.js:80:49:80:65 | document.___location | tst.js:80:49:80:72 | documen ... .search |

javascript/ql/test/query-tests/Security/CWE-079/XssWithAdditionalSources.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ edges
525525
| tst.js:73:3:73:19 | document.___location | tst.js:73:3:73:26 | documen ... .search |
526526
| tst.js:73:3:73:19 | document.___location | tst.js:73:3:73:26 | documen ... .search |
527527
| tst.js:73:3:73:26 | documen ... .search | tst.js:73:1:73:27 | [,docum ... search] |
528+
| tst.js:73:3:73:26 | documen ... .search | tst.js:73:46:73:46 | x |
528529
| tst.js:73:46:73:46 | x | tst.js:76:20:76:20 | x |
529530
| tst.js:73:46:73:46 | x | tst.js:76:20:76:20 | x |
530531
| tst.js:80:49:80:65 | document.___location | tst.js:80:49:80:72 | documen ... .search |

0 commit comments

Comments
 (0)