File tree Expand file tree Collapse file tree 6 files changed +15
-17
lines changed
Expand file tree Collapse file tree 6 files changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -437,10 +437,10 @@ void cbmc_parse_optionst::get_command_line_options(optionst &options)
437437 options.set_option (" smt2" , true );
438438 }
439439
440- if (cmdline.isset (" sat-solver-invocation " ))
440+ if (cmdline.isset (" external- sat-solver" ))
441441 {
442442 options.set_option (
443- " sat-solver-invocation " , cmdline.get_value (" sat-solver-invocation " )),
443+ " external- sat-solver" , cmdline.get_value (" external- sat-solver" )),
444444 solver_set = true ;
445445 }
446446
@@ -1116,7 +1116,7 @@ void cbmc_parse_optionst::help()
11161116 " --yices use Yices\n "
11171117 " --z3 use Z3\n "
11181118 " --refine use refinement procedure (experimental)\n "
1119- " --sat-solver-invocation cmd command to invoke SAT solver process\n "
1119+ " --external- sat-solver cmd command to invoke SAT solver process\n "
11201120 HELP_STRING_REFINEMENT_CBMC
11211121 " --outfile filename output formula to given file\n "
11221122 " --arrays-uf-never never turn arrays into uninterpreted functions\n " // NOLINT(*)
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ class optionst;
5757 OPT_JSON_INTERFACE \
5858 " (smt1)(smt2)(fpa)(cvc3)(cvc4)(boolector)(yices)(z3)(mathsat)" \
5959 " (cprover-smt2)" \
60- " (sat-solver-invocation ):" \
60+ " (external- sat-solver):" \
6161 " (no-sat-preprocessor)" \
6262 " (beautify)" \
6363 " (dimacs)(refine)(max-node-refinement):(refine-arrays)(refine-arithmetic)" \
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ std::unique_ptr<solver_factoryt::solvert> solver_factoryt::get_solver()
132132{
133133 if (options.get_bool_option (" dimacs" ))
134134 return get_dimacs ();
135- if (options.is_set (" sat-solver-invocation " ))
135+ if (options.is_set (" external- sat-solver" ))
136136 return get_external_sat ();
137137 if (
138138 options.get_bool_option (" refine" ) &&
@@ -241,10 +241,10 @@ std::unique_ptr<solver_factoryt::solvert> solver_factoryt::get_external_sat()
241241 no_beautification ();
242242 no_incremental_check ();
243243
244- std::string sat_solver_invocation =
245- options.get_option (" sat-solver-invocation " );
244+ std::string external_sat_solver =
245+ options.get_option (" external- sat-solver" );
246246 auto prop =
247- util_make_unique<external_satt>(message_handler, sat_solver_invocation );
247+ util_make_unique<external_satt>(message_handler, external_sat_solver );
248248
249249 auto bv_pointers = util_make_unique<bv_pointerst>(ns, *prop, message_handler);
250250
@@ -421,4 +421,4 @@ void solver_factoryt::no_incremental_check()
421421 " the chosen solver does not support incremental solving" ,
422422 " --incremental-check" );
423423 }
424- }
424+ }
Original file line number Diff line number Diff line change @@ -90,4 +90,4 @@ class solver_factoryt
9090 void no_incremental_check ();
9191};
9292
93- #endif // CPROVER_GOTO_CHECKER_SOLVER_FACTORY_H
93+ #endif // CPROVER_GOTO_CHECKER_SOLVER_FACTORY_H
Original file line number Diff line number Diff line change 11// / \file
2- // / Allows call an external SAT solver to allow faster integration of
2+ // / Allows call an external SAT solver to allow faster integration of
33// / newer SAT solvers
44// / \author Francis Botero <fbbotero@amazon.com>
55
Original file line number Diff line number Diff line change 11// / \file
2- // / Allows call an external SAT solver to allow faster integration of
2+ // / Allows calling an external SAT solver to allow faster integration of
33// / newer SAT solvers
44// / \author Francis Botero <fbbotero@amazon.com>
55
@@ -31,11 +31,9 @@ class external_satt : public cnf_clause_list_assignmentt
3131protected:
3232 resultt do_prop_solve () override ;
3333 std::string solver_cmd;
34-
35- private:
36- inline void write_cnf_file (std::string);
37- inline std::string execute_solver (std::string);
38- inline resultt parse_result (std::string);
34+ void write_cnf_file (std::string);
35+ std::string execute_solver (std::string);
36+ resultt parse_result (std::string);
3937};
4038
4139#endif // CPROVER_SOLVERS_SAT_EXTERNAL_SAT_H
You can’t perform that action at this time.
0 commit comments