Skip to content

Commit 49606e6

Browse files
Ignore properties before unwind min
Allows to check assertions only between unwind-min and unwind-max iterations of a specified loop.
1 parent 4acb96e commit 49606e6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
CORE
22
main.c
3-
--unwind-min 6 --unwind-max 8 --incremental-loop main.0
3+
--unwind-min 6 --unwind-max 8 --incremental-loop main.0 --ignore-properties-before-unwind-min
44
^EXIT=10$
55
^SIGNAL=0$
66
^VERIFICATION FAILED$
7+
^Generated 1 VCC\(s\), \d+ remaining after simplification$
78
--
9+
^Generated 6 VCC\(s\), \d+ remaining after simplification$
810
^warning: ignoring

src/goto-checker/symex_bmc_incremental_one_loop.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ symex_bmc_incremental_one_loopt::symex_bmc_incremental_one_loopt(
3535
options.is_set("unwind-min") ? options.get_signed_int_option("unwind-min")
3636
: 0)
3737
{
38+
ignore_assertions =
39+
options.get_bool_option("ignore-properties-before-unwind-min");
3840
}
3941

4042
bool symex_bmc_incremental_one_loopt::should_stop_unwind(

0 commit comments

Comments
 (0)