Skip to content

Commit 29cdfd7

Browse files
Use goto verifier for all-properties in JBMC
1 parent 3d12f02 commit 29cdfd7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

jbmc/src/jbmc/jbmc_parse_options.cpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Author: Daniel Kroening, [email protected]
2828
#include <ansi-c/ansi_c_language.h>
2929

3030
#include <goto-checker/all_properties_verifier.h>
31+
#include <goto-checker/multi_path_symex_checker.h>
3132
#include <goto-checker/multi_path_symex_only_checker.h>
3233

3334
#include <goto-programs/adjust_float_expressions.h>
@@ -570,6 +571,18 @@ int jbmc_parse_optionst::doit()
570571
return result_to_exit_code(result);
571572
}
572573
}
574+
else
575+
{
576+
// we do all properties
577+
if(!options.get_bool_option("paths"))
578+
{
579+
all_properties_verifiert<multi_path_symex_checkert> verifier(
580+
options, ui_message_handler, goto_model);
581+
resultt result = verifier();
582+
verifier.report();
583+
return result_to_exit_code(result);
584+
}
585+
}
573586

574587
// The `configure_bmc` callback passed will enable enum-unwind-static if
575588
// applicable.

0 commit comments

Comments
 (0)