JS: Update TaintTracking test

This commit is contained in:
Asger F
2023-10-06 15:12:18 +02:00
parent b5ad36686e
commit 2eff07f476
20 changed files with 598 additions and 157 deletions

View File

@@ -35,8 +35,8 @@ function test() {
provideTaint2(x => sink(x)); // NOT OK
forwardTaint2(source(), x => sink(x)); // NOT OK
forwardTaint2("safe", x => sink(x)); // OK
forwardTaint2("safe", x => sink(x)); // OK [INCONSISTENCY]
function helper1(x) {
sink(x); // NOT OK
return x;