mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
[DIFF-INFORMED] C++: TypeConfusion
This commit is contained in:
@@ -178,6 +178,10 @@ module Config implements DataFlow::ConfigSig {
|
|||||||
predicate isSink(DataFlow::Node sink) { sink.asExpr() = any(UnsafeCast cast).getUnconverted() }
|
predicate isSink(DataFlow::Node sink) { sink.asExpr() = any(UnsafeCast cast).getUnconverted() }
|
||||||
|
|
||||||
int fieldFlowBranchLimit() { result = 0 }
|
int fieldFlowBranchLimit() { result = 0 }
|
||||||
|
|
||||||
|
predicate observeDiffInformedIncrementalMode() {
|
||||||
|
none() // used both positively and negatively
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module Flow = DataFlow::Global<Config>;
|
module Flow = DataFlow::Global<Config>;
|
||||||
|
|||||||
Reference in New Issue
Block a user