mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Remove type check from the barrier predicate
This commit is contained in:
@@ -34,8 +34,6 @@ class WebviewDebugEnabledConfig extends DataFlow::Configuration {
|
||||
}
|
||||
|
||||
override predicate isBarrier(DataFlow::Node node) {
|
||||
not node.getType() instanceof BooleanType
|
||||
or
|
||||
exists(Guard debug | isDebugCheck(debug) and debug.controls(node.asExpr().getBasicBlock(), _))
|
||||
or
|
||||
node.getEnclosingCallable().getDeclaringType() instanceof NonSecurityTestClass
|
||||
|
||||
Reference in New Issue
Block a user