Skip to content

Incremental unwinding of one specified loop #4361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion src/goto-checker/bmc_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,10 @@ void run_property_decider(
"(unwind):" \
"(unwindset):" \
"(graphml-witness):" \
"(unwindset):"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was confused at first - maybe we should have a separate commit that cleans up this duplicate (unwindset):?

"(incremental-loop):" \
"(unwind-min):" \
"(unwind-max):" \
"(ignore-properties-before-unwind-min)"

#define HELP_BMC \
" --paths [strategy] explore paths one at a time\n" \
Expand All @@ -201,6 +204,14 @@ void run_property_decider(
" --unwind nr unwind nr times\n" \
" --unwindset L:B,... unwind loop L with a bound of B\n" \
" (use --show-loops to get the loop IDs)\n" \
" --incremental-loop L check properties after each unwinding\n" \
" of loop L\n" \
" (use --show-loops to get the loop IDs)\n" \
" --unwind-min nr start incremental-loop after nr unwindings\n" \
" --unwind-max nr stop incremental-loop after nr unwindings\n" \
" --ignore-properties-before-unwind-min\n" \
" do not check properties before unwind-min\n" \
" when using incremental-loop\n" \
" --show-vcc show the verification conditions\n" \
" --slice-formula remove assignments unrelated to property\n" \
" --unwinding-assertions generate unwinding assertions (cannot be\n" \
Expand Down