Skip to content

Commit 8978820

Browse files
committed
[DIFF-INFORMED] C++: TypeConfusion
1 parent 5b9e37c commit 8978820

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cpp/ql/src/Security/CWE/CWE-843/TypeConfusion.ql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ module Config implements DataFlow::ConfigSig {
178178
predicate isSink(DataFlow::Node sink) { sink.asExpr() = any(UnsafeCast cast).getUnconverted() }
179179

180180
int fieldFlowBranchLimit() { result = 0 }
181+
182+
predicate observeDiffInformedIncrementalMode() {
183+
none() // used both positively and negatively
184+
}
181185
}
182186

183187
module Flow = DataFlow::Global<Config>;

0 commit comments

Comments
 (0)