Skip to content

Commit 0cf1195

Browse files
committed
1 parent 0bcdb42 commit 0cf1195

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ module ConditionalBypassFlowConfig implements DataFlow::ConfigSig {
4747
predicate isAdditionalFlowStep(DataFlow::Node node1, DataFlow::Node node2) {
4848
endsWithStep(node1, node2)
4949
}
50+
51+
predicate observeDiffInformedIncrementalMode() { any() }
52+
53+
Location getASelectedSinkLocation(DataFlow::Node sink) {
54+
exists(MethodCall m, Expr e | result = [m, e].getLocation() |
55+
conditionControlsMethod(m, e) and
56+
sink.asExpr() = e
57+
)
58+
}
5059
}
5160

5261
/**

0 commit comments

Comments
 (0)