Skip to content

Commit 9d2a115

Browse files
author
Joel Allred
committed
Change option name to --refine-strings
1 parent c7328e2 commit 9d2a115

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/cbmc/cbmc_parse_options.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,9 @@ void cbmc_parse_optionst::get_command_line_options(optionst &options)
311311
options.set_option("refine-arithmetic", true);
312312
}
313313

314-
if(cmdline.isset("string-refine"))
314+
if(cmdline.isset("refine-strings"))
315315
{
316-
options.set_option("string-refine", true);
316+
options.set_option("refine-strings", true);
317317
}
318318

319319
if(cmdline.isset("max-node-refinement"))
@@ -911,7 +911,7 @@ bool cbmc_parse_optionst::process_goto_program(
911911
goto_partial_inline(goto_functions, ns, ui_message_handler);
912912

913913

914-
if(cmdline.isset("string-refine"))
914+
if(cmdline.isset("refine-strings"))
915915
{
916916
status() << "Preprocessing for string refinement" << eom;
917917
string_refine_preprocesst(
@@ -1205,7 +1205,7 @@ void cbmc_parse_optionst::help()
12051205
" --yices use Yices\n"
12061206
" --z3 use Z3\n"
12071207
" --refine use refinement procedure (experimental)\n"
1208-
" --string-refine use string refinement (experimental)\n"
1208+
" --refine-strings use string refinement (experimental)\n"
12091209
" --outfile filename output formula to given file\n"
12101210
" --arrays-uf-never never turn arrays into uninterpreted functions\n" // NOLINT(*)
12111211
" --arrays-uf-always always turn arrays into uninterpreted functions\n" // NOLINT(*)

src/cbmc/cbmc_parse_options.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class optionst;
3737
"(no-sat-preprocessor)" \
3838
"(no-pretty-names)(beautify)" \
3939
"(dimacs)(refine)(max-node-refinement):(refine-arrays)(refine-arithmetic)"\
40-
"(string-refine)" \
40+
"(refine-strings)" \
4141
"(aig)(16)(32)(64)(LP64)(ILP64)(LLP64)(ILP32)(LP32)" \
4242
"(little-endian)(big-endian)" \
4343
"(show-goto-functions)(show-loops)" \

src/cbmc/cbmc_solvers.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class cbmc_solverst:public messaget
114114
solver=get_dimacs();
115115
else if(options.get_bool_option("refine"))
116116
solver=get_bv_refinement();
117-
else if(options.get_bool_option("string-refine"))
117+
else if(options.get_bool_option("refine-strings"))
118118
solver=get_string_refinement();
119119
else if(options.get_bool_option("smt1"))
120120
solver=get_smt1(get_smt1_solver_type());

src/java_bytecode/java_bytecode_language.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void java_bytecode_languaget::get_language_options(const cmdlinet &cmd)
4444
{
4545
disable_runtime_checks=cmd.isset("disable-runtime-check");
4646
assume_inputs_non_null=cmd.isset("java-assume-inputs-non-null");
47-
string_refinement_enabled=cmd.isset("string-refine");
47+
string_refinement_enabled=cmd.isset("refine-strings");
4848
if(cmd.isset("java-max-input-array-length"))
4949
max_nondet_array_length=
5050
std::stoi(cmd.get_value("java-max-input-array-length"));

0 commit comments

Comments
 (0)