Mutable static variables usage in contract verification trigger UB #3298
Labels
[C] Bug
This is a bug. Something isn't working.
[F] Spurious Failure
Issues that cause Kani verification to fail despite the code being correct.
Z-Contracts
Issue related to code contracts
Milestone
I tried this code:
using the following command line invocation:
with Kani version: 0.52.0
I expected to see this happen: Verification succeeds
Instead, this happened: Verification fails because WRAP_COUNTER is havoc and it can contain an invalid discriminant. Thus, the match statement unreachable block is reached.
The text was updated successfully, but these errors were encountered: