We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cbe04d commit 5d2ce17Copy full SHA for 5d2ce17
javascript/ql/test/library-tests/TaintBarriers/tests.ql
@@ -11,8 +11,10 @@ query predicate isLabeledBarrier(
11
12
query predicate isSanitizer(ExampleConfiguration cfg, DataFlow::Node n) { cfg.isSanitizer(n) }
13
14
-query predicate sanitizingGuard(TaintTracking::SanitizerGuardNode g, Expr e, boolean b) {
15
- g.sanitizes(b, e)
+query predicate sanitizingGuard(DataFlow::Node g, Expr e, boolean b) {
+ g.(TaintTracking::SanitizerGuardNode).sanitizes(b, e)
16
+ or
17
+ g.(TaintTracking::AdditionalSanitizerGuardNode).sanitizes(b, e)
18
}
19
20
query predicate taintedSink(DataFlow::Node source, DataFlow::Node sink) {
0 commit comments