We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec85e55 commit 39b430aCopy full SHA for 39b430a
cpp/ql/src/Security/CWE/CWE-416/IteratorToExpiredContainer.ql
@@ -145,6 +145,18 @@ module Config implements DataFlow::StateConfigSig {
145
// ```
146
result instanceof DataFlow::FeatureHasSinkCallContext
147
}
148
+
149
+ predicate observeDiffInformedIncrementalMode() { any() }
150
151
+ Location getASelectedSourceLocation(DataFlow::Node source) { none() }
152
153
+ Location getASelectedSinkLocation(DataFlow::Node sink) {
154
+ exists(DataFlow::Node mid, FlowState state | result = mid.getLocation() |
155
+ destroyedToBeginSink(sink) and
156
+ isSink(sink, state) and
157
+ state = Config::DestroyedToBegin(mid)
158
+ )
159
+ }
160
161
162
module Flow = DataFlow::GlobalWithState<Config>;
0 commit comments