Skip to content

Commit 3d12f02

Browse files
Use goto verifier for all-properties in CBMC
1 parent 4a492d6 commit 3d12f02

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/cbmc/cbmc_parse_options.cpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Author: Daniel Kroening, [email protected]
3232

3333
#include <goto-checker/all_properties_verifier.h>
3434
#include <goto-checker/bmc_util.h>
35+
#include <goto-checker/multi_path_symex_checker.h>
3536
#include <goto-checker/multi_path_symex_only_checker.h>
3637
#include <goto-checker/properties.h>
3738

@@ -563,6 +564,18 @@ int cbmc_parse_optionst::doit()
563564
return result_to_exit_code(result);
564565
}
565566
}
567+
else
568+
{
569+
// we do all properties
570+
if(!options.get_bool_option("paths"))
571+
{
572+
all_properties_verifiert<multi_path_symex_checkert> verifier(
573+
options, ui_message_handler, goto_model);
574+
resultt result = verifier();
575+
verifier.report();
576+
return result_to_exit_code(result);
577+
}
578+
}
566579

567580
if(cmdline.isset("validate-goto-model"))
568581
{

0 commit comments

Comments
 (0)