Skip to content

Commit 287ec0c

Browse files
committed
JS: Add test for default flow labels
1 parent 583f3d7 commit 287ec0c

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
| data |
2+
| taint |
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import javascript
2+
3+
// Check which flow labels are materialize by importing `javascript.qll`.
4+
// If this increases, it may indicate a performance issue.
5+
6+
select any(DataFlow::FlowLabel label)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// The contents of this file don't matter.
2+
let x = 1;

0 commit comments

Comments
 (0)