Skip to content

Commit f103293

Browse files
committed
[DIFF-INFORMED] Rust: UncontrolledAllocationSize
1 parent 8f8fe1d commit f103293

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rust/ql/src/queries/security/CWE-770/UncontrolledAllocationSize.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ module UncontrolledAllocationConfig implements DataFlow::ConfigSig {
3232
predicate isSink(DataFlow::Node sink) { sink instanceof Sink }
3333

3434
predicate isBarrier(DataFlow::Node barrier) { barrier instanceof Barrier }
35+
36+
predicate observeDiffInformedIncrementalMode() { any() }
3537
}
3638

3739
module UncontrolledAllocationFlow = TaintTracking::Global<UncontrolledAllocationConfig>;

0 commit comments

Comments
 (0)