Skip to content

Commit f073f3b

Browse files
committed
JS: Rename file to foo.test.js
1 parent 65da9b4 commit f073f3b

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

javascript/ql/test/query-tests/Security/CWE-338/InsecureRandomness.expected

-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
edges
2-
| foo.js:5:12:5:22 | getRandom() | library2.js:1:24:1:25 | pw | provenance | |
3-
| library1.js:2:12:2:24 | Math.random() | foo.js:5:12:5:22 | getRandom() | provenance | |
4-
| library2.js:1:24:1:25 | pw | library2.js:2:20:2:21 | pw | provenance | |
52
| tst.js:6:31:6:43 | Math.random() | tst.js:6:20:6:43 | "prefix ... andom() | provenance | Config |
63
| tst.js:19:9:19:36 | suffix | tst.js:20:31:20:36 | suffix | provenance | |
74
| tst.js:19:18:19:30 | Math.random() | tst.js:19:18:19:36 | Math.random() % 255 | provenance | Config |
@@ -35,10 +32,6 @@ edges
3532
| tst.js:136:38:136:50 | Math.random() | tst.js:136:38:136:65 | Math.ra ... .length | provenance | Config |
3633
| tst.js:136:38:136:65 | Math.ra ... .length | tst.js:136:27:136:66 | Math.fl ... length) | provenance | Config |
3734
nodes
38-
| foo.js:5:12:5:22 | getRandom() | semmle.label | getRandom() |
39-
| library1.js:2:12:2:24 | Math.random() | semmle.label | Math.random() |
40-
| library2.js:1:24:1:25 | pw | semmle.label | pw |
41-
| library2.js:2:20:2:21 | pw | semmle.label | pw |
4235
| tst.js:2:20:2:32 | Math.random() | semmle.label | Math.random() |
4336
| tst.js:6:20:6:43 | "prefix ... andom() | semmle.label | "prefix ... andom() |
4437
| tst.js:6:31:6:43 | Math.random() | semmle.label | Math.random() |
@@ -96,7 +89,6 @@ nodes
9689
| tst.js:136:38:136:65 | Math.ra ... .length | semmle.label | Math.ra ... .length |
9790
subpaths
9891
#select
99-
| library2.js:2:20:2:21 | pw | library1.js:2:12:2:24 | Math.random() | library2.js:2:20:2:21 | pw | This uses a cryptographically insecure random number generated at $@ in a security context. | library1.js:2:12:2:24 | Math.random() | Math.random() |
10092
| tst.js:2:20:2:32 | Math.random() | tst.js:2:20:2:32 | Math.random() | tst.js:2:20:2:32 | Math.random() | This uses a cryptographically insecure random number generated at $@ in a security context. | tst.js:2:20:2:32 | Math.random() | Math.random() |
10193
| tst.js:6:20:6:43 | "prefix ... andom() | tst.js:6:31:6:43 | Math.random() | tst.js:6:20:6:43 | "prefix ... andom() | This uses a cryptographically insecure random number generated at $@ in a security context. | tst.js:6:31:6:43 | Math.random() | Math.random() |
10294
| tst.js:10:20:10:32 | Math.random() | tst.js:10:20:10:32 | Math.random() | tst.js:10:20:10:32 | Math.random() | This uses a cryptographically insecure random number generated at $@ in a security context. | tst.js:10:20:10:32 | Math.random() | Math.random() |

0 commit comments

Comments
 (0)