Skip to content

Commit eb3655d

Browse files
Remove type check from the barrier predicate
1 parent ed8ec89 commit eb3655d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

java/ql/lib/semmle/code/java/security/WebviewDubuggingEnabledQuery.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ class WebviewDebugEnabledConfig extends DataFlow::Configuration {
3434
}
3535

3636
override predicate isBarrier(DataFlow::Node node) {
37-
not node.getType() instanceof BooleanType
38-
or
3937
exists(Guard debug | isDebugCheck(debug) and debug.controls(node.asExpr().getBasicBlock(), _))
4038
or
4139
node.getEnclosingCallable().getDeclaringType() instanceof NonSecurityTestClass

0 commit comments

Comments
 (0)