Don't cache defaultTaintSanitizerGuard for java

This commit is contained in:
Owen Mansel-Chan
2022-01-13 11:36:20 +00:00
parent 8e8278764b
commit 7e42ccfbf1

View File

@@ -113,15 +113,14 @@ private module Cached {
node.getEnclosingCallable().getDeclaringType() instanceof NonSecurityTestClass or
node.asExpr() instanceof ValidatedVariableAccess
}
/**
* Holds if `guard` should be a sanitizer guard in all global taint flow configurations
* but not in local taint.
*/
cached
predicate defaultTaintSanitizerGuard(DataFlow::BarrierGuard guard) { none() }
}
/**
* Holds if `guard` should be a sanitizer guard in all global taint flow configurations
* but not in local taint.
*/
predicate defaultTaintSanitizerGuard(DataFlow::BarrierGuard guard) { none() }
import Cached
private RefType getElementType(RefType container) {