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).
Activity
zhassan-aws commentedon Nov 28, 2022
Blocker for #1941
tautschnig commentedon Nov 28, 2022
This is also happening with the very latest CBMC version (which has additional fixes on top of 5.71.0). I'll investigate.
tautschnig commentedon Nov 28, 2022
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 **)8to 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).tautschnig commentedon Nov 29, 2022
diffblue/cbmc#7398 addresses this problem.