Skip to content

Commit a35731b

Browse files
Remove -show-reachable-properties
The same effect can now be achieved by --show-properties --drop-unused-functions
1 parent e8ec160 commit a35731b

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

src/cbmc/cbmc_parse_options.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -540,19 +540,6 @@ int cbmc_parse_optionst::doit()
540540
return 0; // should contemplate EX_OK from sysexits.h
541541
}
542542

543-
// may replace --show-properties
544-
if(cmdline.isset("show-reachable-properties"))
545-
{
546-
const namespacet ns(symbol_table);
547-
548-
// Entry point will have been set before and function pointers removed
549-
status() << "Removing Unused Functions" << eom;
550-
remove_unused_functions(goto_functions, ui_message_handler);
551-
552-
show_properties(ns, get_ui(), goto_functions);
553-
return 0; // should contemplate EX_OK from sysexits.h
554-
}
555-
556543
if(set_properties(goto_functions))
557544
return 7; // should contemplate EX_USAGE from sysexits.h
558545

src/cbmc/cbmc_parse_options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class optionst;
4141
"(little-endian)(big-endian)" \
4242
"(show-goto-functions)(show-loops)" \
4343
"(show-symbol-table)(show-parse-tree)(show-vcc)" \
44-
"(show-claims)(claim):(show-properties)(show-reachable-properties)" \
44+
"(show-claims)(claim):(show-properties)" \
4545
"(drop-unused-functions)" \
4646
"(property):(stop-on-fail)(trace)" \
4747
"(error-label):(verbosity):(no-library)" \

0 commit comments

Comments
 (0)