Skip to content

Commit e94b492

Browse files
committed
[DIFF-INFORMED] Go: ConditionalBypass
1 parent cccf6e6 commit e94b492

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

go/ql/src/experimental/CWE-840/ConditionalBypass.ql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ module Config implements DataFlow::ConfigSig {
2222
predicate isSink(DataFlow::Node sink) {
2323
exists(ComparisonExpr c | c.getAnOperand() = sink.asExpr())
2424
}
25+
26+
predicate observeDiffInformedIncrementalMode() {
27+
none() // can't override the locations accurately because of secondary use of config.
28+
}
2529
}
2630

2731
/** Tracks taint flow for reasoning about conditional bypass. */

0 commit comments

Comments
 (0)