Concrete playback doesn't work when --cfg kani
is required
#2046
Labels
[C] Bug
This is a bug. Something isn't working.
[F] Crash
Kani crashed
T-High Priority
Tag issues that have high priority
T-User
Tag user issues / requests
I tried this code:
This test somewhat mimics how the Kani--Bolero integration works, where a function returns a symbolic value in
kani
mode and a random value otherwise:using the following command line invocation:
with Kani version: 0.18.0
Kani generated the following test:
Now if I run this test with:
or in the debugger, the assertion doesn't fail because the
cfg(not(kani))
version ofgen_value
gets called. In addition, we get the following crash:To reproduce, create a cargo package with the above Rust code and add the following to
Cargo.toml
:The text was updated successfully, but these errors were encountered: