Skip to content

Commit c2abb0f

Browse files
committed
JS: Remove reference to AdditionalSanitizerGuard from CachedStages
1 parent 82682d9 commit c2abb0f

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

javascript/ql/lib/semmle/javascript/internal/CachedStages.qll

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ private import StmtContainers
2525
private import semmle.javascript.dataflow.internal.PreCallGraphStep
2626
private import semmle.javascript.dataflow.internal.FlowSteps
2727
private import semmle.javascript.dataflow.internal.AccessPaths
28+
private import semmle.javascript.dataflow.internal.TaintTrackingPrivate as TaintTrackingPrivate
2829

2930
/**
3031
* Contains a `cached module` for each stage.
@@ -344,19 +345,7 @@ module Stages {
344345
or
345346
any(RegExpTerm t).isUsedAsRegExp()
346347
or
347-
any(TaintTracking::AdditionalSanitizerGuardNode e).blocks(_, _)
348-
}
349-
350-
cached
351-
class DummySanitizer extends TaintTracking::AdditionalSanitizerGuardNode {
352-
cached
353-
DummySanitizer() { none() }
354-
355-
cached
356-
deprecated override predicate appliesTo(TaintTracking::Configuration cfg) { none() }
357-
358-
cached
359-
override predicate sanitizes(boolean outcome, Expr e) { none() }
348+
TaintTrackingPrivate::defaultTaintSanitizer(_)
360349
}
361350
}
362351
}

0 commit comments

Comments
 (0)