You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected to see this happen: Verification successful
Instead, this happened: a capacity overflow check fails:
SUMMARY:
** 1 of 1148 failed (15 unreachable)
Failed Checks: This is a placeholder message; Kani doesn't support message formatted at runtime
File: "/home/ubuntu/.rustup/toolchains/nightly-2022-11-06-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs", line 518, in alloc::raw_vec::capacity_overflow
VERIFICATION:- FAILED
Verification Time: 3.296982s
The CBMC change altering the result is diffblue/cbmc@633875b. As a consequence of this change we no longer simplify (struct Unit **)8 - (struct Unit **)8 to zero, but instead leave the expression intact. It seems the back-end isn't handling this correctly (even though we should likely put back a variant of the previous simplification rule).
This test is derived from https://github.com/model-checking/kani/blob/main/tests/kani/Refs/main.rs
I tried this code:
using the following command line invocation:
with Kani version: bb268b1 and CBMC 5.71.0
I expected to see this happen: Verification successful
Instead, this happened: a capacity overflow check fails:
With CBMC 5.70.0, this test passes:
The text was updated successfully, but these errors were encountered: