Skip to content

Help output: document that stop-on-fail implies trace #5662

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

Merged
merged 1 commit into from
Dec 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion jbmc/src/jbmc/jbmc_parse_options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1070,8 +1070,9 @@ void jbmc_parse_optionst::help()
HELP_SHOW_PROPERTIES
" --symex-coverage-report f generate a Cobertura XML coverage report in f\n" // NOLINT(*)
" --property id only check one specific property\n"
" --stop-on-fail stop analysis once a failed property is detected\n" // NOLINT(*)
" --trace give a counterexample trace for failed properties\n" //NOLINT(*)
" --stop-on-fail stop analysis once a failed property is detected\n" // NOLINT(*)
" (implies --trace)\n"
HELP_JAVA_TRACE_VALIDATION
"\n"
"Program representations:\n"
Expand Down
3 changes: 2 additions & 1 deletion src/cbmc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ formula using two different possible procedures:

1. When `--stop-on-fail` is passed on the command-line, the formula is solved
once to find any violated assertion. This is implemented directly in
class `bmct`.
class `bmct`. If the formula is satisfiable, a counter-example trace is
generated.
2. When `--stop-on-fail` is not passed, BMC is run in "all-properties" mode.
This categorises the assertions into groups that represent the same property,
and the solver is run repeatedly to try to satisfy each property at least
Expand Down
3 changes: 2 additions & 1 deletion src/cbmc/cbmc_parse_options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1064,8 +1064,9 @@ void cbmc_parse_optionst::help()
HELP_SHOW_PROPERTIES
" --symex-coverage-report f generate a Cobertura XML coverage report in f\n" // NOLINT(*)
" --property id only check one specific property\n"
" --stop-on-fail stop analysis once a failed property is detected\n" // NOLINT(*)
" --trace give a counterexample trace for failed properties\n" //NOLINT(*)
" --stop-on-fail stop analysis once a failed property is detected\n" // NOLINT(*)
" (implies --trace)\n"
"\n"
"C/C++ frontend options:\n"
" -I path set include path (C/C++)\n"
Expand Down