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
T-High PriorityTag issues that have high priorityZ-Kani CompilerIssues that require some changes to the compiler[C] BugThis is a bug. Something isn't working.
I also found the older version of Kani (0.65.0) correctly catches the overflow.
The cause of the issue is that Kani routes the compiler intrinsic overflow_checks() to false at kani-compiler/src/codegen_cprover_gotoc/codegen/operand.rs#L64, even though Kani compiles with overflow checks on. And rust changed their implementation of pow into if overflow_checks() { strict_pow } else { wrapping_pow }. Under Kani, pow therefore always takes the wrapping_pow branch, which has no overflow check. So now, real Rust panics, but Kani misses the panic.
T-High PriorityTag issues that have high priorityZ-Kani CompilerIssues that require some changes to the compiler[C] BugThis is a bug. Something isn't working.
Activity
Evaluate `overflow_checks()` to the session's setting
Evaluate `overflow_checks()` to the session's setting
Evaluate `overflow_checks()` to the session's setting (model-checking…