Skip to content

Commit 675b088

Browse files
committed
[DIFF-INFORMED] C++: AuthenticationBypass
1 parent b4724e4 commit 675b088

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cpp/ql/src/Security/CWE/CWE-290/AuthenticationBypass.ql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ module Config implements DataFlow::ConfigSig {
7272
predicate isSource(DataFlow::Node source) { isSource(source, _) }
7373

7474
predicate isSink(DataFlow::Node sink) { isSink(sink, _) }
75+
76+
predicate observeDiffInformedIncrementalMode() { any() }
77+
78+
Location getASelectedSinkLocation(DataFlow::Node sink) {
79+
exists(Expr condition | result = condition.getLocation() | isSink(sink, condition))
80+
}
7581
}
7682

7783
module Flow = TaintTracking::Global<Config>;

0 commit comments

Comments
 (0)