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
{{ message }}
Repository navigation
Not using --slice-formula causes invariant violation in CBMC #1810
changed the title [-]Not using `--slice-formula` causes invariant violation CBMC[/-][+]Not using `--slice-formula` causes invariant violation in CBMC[/+]on Oct 27, 2022
If I run the same test as above without --slice-formula and I disable the reachability checks, I get a different error:
$ kani --no-assertion-reach-checks main.rs
thread '<unnamed>' panicked at 'assertion failed: !property_name.is_empty() && !message.is_empty()', cprover_bindings/src/goto_program/stmt.rs:183:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Kani unexpectedly panicked during compilation.
If you are seeing this message, please file an issue here: https://github.com/model-checking/kani/issues/new?labels=bug&template=bug_report.md
[Kani] current codegen item: codegen_function: main
main
[Kani] current codegen location: Loc { file: "tests/kani/Assume/main.rs", function: None, start_line: 5, start_col: Some(1), end_line: 5, end_col: Some(10) }
Error: target/kani/bin/kani-compiler exited with status exit status: 101
Activity
[-]Not using `--slice-formula` causes invariant violation CBMC[/-][+]Not using `--slice-formula` causes invariant violation in CBMC[/+]celinval commentedon Nov 21, 2022
The following test is enough to trigger the failure without
--slice-formula:celinval commentedon Nov 21, 2022
If I run the same test as above without
--slice-formulaand I disable the reachability checks, I get a different error:celinval commentedon Nov 22, 2022
@tautschnig Any chance you can help me out please? For my one statement harness, if I remove the
--slice-formula, I'm getting the following logs: