@@ -58,57 +58,12 @@ void goto_diff_parse_optionst::get_command_line_options(optionst &options)
58
58
exit (1 );
59
59
}
60
60
61
- if (cmdline.isset (" program-only" ))
62
- options.set_option (" program-only" , true );
63
-
64
- if (cmdline.isset (" show-byte-ops" ))
65
- options.set_option (" show-byte-ops" , true );
66
-
67
- if (cmdline.isset (" show-vcc" ))
68
- options.set_option (" show-vcc" , true );
69
-
70
61
if (cmdline.isset (" cover" ))
71
62
parse_cover_options (cmdline, options);
72
63
73
64
// all checks supported by goto_check
74
65
PARSE_OPTIONS_GOTO_CHECK (cmdline, options);
75
66
76
- if (cmdline.isset (" debug-level" ))
77
- options.set_option (" debug-level" , cmdline.get_value (" debug-level" ));
78
-
79
- if (cmdline.isset (" unwindset" ))
80
- options.set_option (" unwindset" , cmdline.get_value (" unwindset" ));
81
-
82
- // constant propagation
83
- if (cmdline.isset (" no-propagation" ))
84
- options.set_option (" propagation" , false );
85
- else
86
- options.set_option (" propagation" , true );
87
-
88
- // all checks supported by goto_check
89
- PARSE_OPTIONS_GOTO_CHECK (cmdline, options);
90
-
91
- // generate unwinding assertions
92
- if (cmdline.isset (" cover" ))
93
- options.set_option (" unwinding-assertions" , false );
94
- else
95
- options.set_option (
96
- " unwinding-assertions" ,
97
- cmdline.isset (" unwinding-assertions" ));
98
-
99
- // generate unwinding assumptions otherwise
100
- options.set_option (" partial-loops" , cmdline.isset (" partial-loops" ));
101
-
102
- if (options.get_bool_option (" partial-loops" ) &&
103
- options.get_bool_option (" unwinding-assertions" ))
104
- {
105
- log .error () << " --partial-loops and --unwinding-assertions"
106
- << " must not be given together" << messaget::eom;
107
- exit (1 );
108
- }
109
-
110
- options.set_option (" show-properties" , cmdline.isset (" show-properties" ));
111
-
112
67
// Options for process_goto_program
113
68
options.set_option (" rewrite-union" , true );
114
69
}
@@ -235,6 +190,8 @@ bool goto_diff_parse_optionst::process_goto_program(
235
190
get_cover_config (options, goto_model.symbol_table , ui_message_handler);
236
191
if (instrument_cover_goals (cover_config, goto_model, ui_message_handler))
237
192
return true ;
193
+
194
+ goto_model.goto_functions .update ();
238
195
}
239
196
240
197
// label the assertions
@@ -267,8 +224,7 @@ void goto_diff_parse_optionst::help()
267
224
" \n "
268
225
" Diff options:\n "
269
226
HELP_SHOW_GOTO_FUNCTIONS
270
- HELP_SHOW_PROPERTIES
271
- " --syntactic do syntactic diff (default)\n "
227
+ " --show-loops show the loops in the programs\n "
272
228
" -u | --unified output unified diff\n "
273
229
" --change-impact | \n "
274
230
" --forward-impact |\n "
0 commit comments