Skip to content

Commit cccf6e6

Browse files
committed
1 parent 5527221 commit cccf6e6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

go/ql/src/experimental/CWE-807/SensitiveConditionBypass.qll

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ private module Config implements DataFlow::ConfigSig {
5959
not c.isPotentialFalsePositive()
6060
)
6161
}
62+
63+
predicate observeDiffInformedIncrementalMode() { any() }
64+
65+
Location getASelectedSourceLocation(DataFlow::Node source) { none() }
66+
67+
Location getASelectedSinkLocation(DataFlow::Node sink) {
68+
exists(ComparisonExpr comp | result = comp.getLocation() | sink.asExpr() = comp.getAnOperand())
69+
}
6270
}
6371

6472
/**

0 commit comments

Comments
 (0)