Skip to content

Commit 03e6122

Browse files
committed
CBMC/JBMC: do not attempt to parse unused option pretty-names
It is not clear when this command-line option last had any effect.
1 parent b22ded7 commit 03e6122

File tree

4 files changed

+0
-13
lines changed

4 files changed

+0
-13
lines changed

doc/man/cbmc.1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@ Show the verification conditions
149149
Remove assignments unrelated to property
150150
.IP --no-unwinding-assertions
151151
Do not generate unwinding assertions
152-
.IP --no-pretty-names
153-
Do not simplify identifiers
154152
.SS "BACKEND OPTIONS (cbmc)"
155153
.IP --dimacs
156154
Generate CNF in DIMACS format for use by external SAT solvers

jbmc/src/jbmc/jbmc_parse_options.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ void jbmc_parse_optionst::set_default_options(optionst &options)
9595
options.set_option("assumptions", true);
9696
options.set_option("built-in-assertions", true);
9797
options.set_option("lazy-methods", true);
98-
options.set_option("pretty-names", true);
9998
options.set_option("propagation", true);
10099
options.set_option("refine-strings", true);
101100
options.set_option("simple-slice", true);
@@ -289,10 +288,6 @@ void jbmc_parse_optionst::get_command_line_options(optionst &options)
289288
"--max-nondet-string-length");
290289
}
291290

292-
options.set_option(
293-
"pretty-names",
294-
!cmdline.isset("no-pretty-names"));
295-
296291
if(cmdline.isset("graphml-witness"))
297292
{
298293
options.set_option("graphml-witness", cmdline.get_value("graphml-witness"));

src/cbmc/cbmc_parse_options.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ void cbmc_parse_optionst::set_default_options(optionst &options)
104104
{
105105
// Default true
106106
options.set_option("built-in-assertions", true);
107-
options.set_option("pretty-names", true);
108107
options.set_option("propagation", true);
109108
options.set_option("simple-slice", true);
110109
options.set_option("simplify", true);
@@ -341,9 +340,6 @@ void cbmc_parse_optionst::get_command_line_options(optionst &options)
341340
}
342341
}
343342

344-
if(cmdline.isset("no-pretty-names"))
345-
options.set_option("pretty-names", false);
346-
347343
if(cmdline.isset("graphml-witness"))
348344
{
349345
options.set_option("graphml-witness", cmdline.get_value("graphml-witness"));

src/goto-checker/bmc_util.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ void run_property_decider(
180180
"(slice-formula)" \
181181
"(unwinding-assertions)" \
182182
"(no-unwinding-assertions)" \
183-
"(no-pretty-names)" \
184183
"(no-self-loops-to-assumptions)" \
185184
"(partial-loops)" \
186185
"(paths):" \
@@ -238,7 +237,6 @@ void run_property_decider(
238237
" --partial-loops permit paths with partial loops\n" \
239238
" --no-self-loops-to-assumptions\n" \
240239
" do not simplify while(1){} to assume(0)\n" \
241-
" --no-pretty-names do not simplify identifiers\n" \
242240
" --symex-complexity-limit N how complex (N) a path can become before\n" \
243241
" symex abandons it. Currently uses guard\n" \
244242
" size to calculate complexity. \n" \

0 commit comments

Comments
 (0)