Skip to content

Commit d3b8c01

Browse files
Remove obsolete string options from CBMC
1 parent 95c6eef commit d3b8c01

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

jbmc/src/jbmc/jbmc_parse_options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ void jbmc_parse_optionst::help()
10871087
" --refine use refinement procedure (experimental)\n"
10881088
" --no-refine-strings turn off string refinement\n"
10891089
" --string-printable restrict to printable strings (experimental)\n" // NOLINT(*)
1090-
" --max-nondet-string-length bound the length of nondet (e.g. input) strings\n" // NOLINT(*)
1090+
" --max-nondet-string-length n bound the length of nondet (e.g. input) strings\n" // NOLINT(*)
10911091
" --outfile filename output formula to given file\n"
10921092
" --arrays-uf-never never turn arrays into uninterpreted functions\n" // NOLINT(*)
10931093
" --arrays-uf-always always turn arrays into uninterpreted functions\n" // NOLINT(*)

src/cbmc/cbmc_parse_options.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,6 @@ void cbmc_parse_optionst::get_command_line_options(optionst &options)
300300
{
301301
options.set_option("refine-strings", true);
302302
options.set_option("string-printable", cmdline.isset("string-printable"));
303-
if(cmdline.isset("string-max-length"))
304-
options.set_option(
305-
"string-max-length", cmdline.get_value("string-max-length"));
306303
}
307304

308305
if(cmdline.isset("max-node-refinement"))
@@ -964,9 +961,6 @@ void cbmc_parse_optionst::help()
964961
" --refine use refinement procedure (experimental)\n"
965962
" --refine-strings use string refinement (experimental)\n"
966963
" --string-printable add constraint that strings are printable (experimental)\n" // NOLINT(*)
967-
" --string-max-input-length add constraint on the length of input strings\n" // NOLINT(*)
968-
" --string-max-length add constraint on the length of strings\n"
969-
" (deprecated: use string-max-input-length instead)\n" // NOLINT(*)
970964
" --outfile filename output formula to given file\n"
971965
" --arrays-uf-never never turn arrays into uninterpreted functions\n" // NOLINT(*)
972966
" --arrays-uf-always always turn arrays into uninterpreted functions\n" // NOLINT(*)

src/cbmc/cbmc_parse_options.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ class optionst;
5050
"(dimacs)(refine)(max-node-refinement):(refine-arrays)(refine-arithmetic)"\
5151
"(refine-strings)" \
5252
"(string-printable)" \
53-
"(string-max-length):" \
54-
"(string-max-input-length):" \
5553
"(16)(32)(64)(LP64)(ILP64)(LLP64)(ILP32)(LP32)" \
5654
"(little-endian)(big-endian)" \
5755
OPT_SHOW_GOTO_FUNCTIONS \

0 commit comments

Comments
 (0)