Too many addressed objects in RAII example #561
Labels
[C] Feature / Enhancement
A new feature request or enhancement to an existing feature.
[E] Performance
Track performance improvement (Time / Memory / CPU)
Currently, the
Rust by Example/Scoping rules/RAII/11.rs
fails to verify with default CBMC values. See the example below:The
create_box
creates a box, then frees its memory since it goes out of scope.One needs to use
--cbmc-args --object-bits 13
in order to successfully verify this example, but even then it takes 5 minutes to do so.As far as I can tell, this is a good candidate for verification optimizations.
The text was updated successfully, but these errors were encountered: