cprover
goto_diff_parse_options.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: GOTO-DIFF Command Line Option Processing
4 
5 Author: Peter Schrammel
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_GOTO_DIFF_GOTO_DIFF_PARSE_OPTIONS_H
13 #define CPROVER_GOTO_DIFF_GOTO_DIFF_PARSE_OPTIONS_H
14 
15 #include <analyses/goto_check.h>
16 
17 #include <util/ui_message.h>
18 #include <util/parse_options.h>
19 #include <util/timestamper.h>
20 
24 
25 class goto_modelt;
26 class optionst;
27 
28 // clang-format off
29 #define GOTO_DIFF_OPTIONS \
30  "(json-ui)" \
31  OPT_SHOW_GOTO_FUNCTIONS \
32  OPT_SHOW_PROPERTIES \
33  OPT_GOTO_CHECK \
34  "(cover):" \
35  "(verbosity):(version)" \
36  OPT_FLUSH \
37  OPT_TIMESTAMP \
38  "u(unified)(change-impact)(forward-impact)(backward-impact)" \
39  "(compact-output)"
40 // clang-format on
41 
43 {
44 public:
45  virtual int doit();
46  virtual void help();
47 
48  goto_diff_parse_optionst(int argc, const char **argv);
49 
50 protected:
51  void register_languages();
52 
53  void get_command_line_options(optionst &options);
54 
55  bool process_goto_program(const optionst &options, goto_modelt &goto_model);
56 };
57 
58 #endif // CPROVER_GOTO_DIFF_GOTO_DIFF_PARSE_OPTIONS_H
goto_diff_parse_optionst::process_goto_program
bool process_goto_program(const optionst &options, goto_modelt &goto_model)
Definition: goto_diff_parse_options.cpp:313
parse_options_baset
Definition: parse_options.h:20
optionst
Definition: options.h:23
goto_model.h
Symbol Table + CFG.
goto_modelt
Definition: goto_model.h:26
show_goto_functions.h
Show the goto functions.
goto_diff_parse_optionst::register_languages
void register_languages()
Definition: goto_diff_languages.cpp:19
goto_diff_parse_optionst
Definition: goto_diff_parse_options.h:43
goto_diff_parse_optionst::help
virtual void help()
display command line help
Definition: goto_diff_parse_options.cpp:387
show_properties.h
Show the properties.
parse_options.h
goto_check.h
Program Transformation.
goto_diff_parse_optionst::doit
virtual int doit()
invoke main modules
Definition: goto_diff_parse_options.cpp:218
goto_diff_parse_optionst::goto_diff_parse_optionst
goto_diff_parse_optionst(int argc, const char **argv)
Definition: goto_diff_parse_options.cpp:66
timestamper.h
Emit timestamps.
goto_diff_parse_optionst::get_command_line_options
void get_command_line_options(optionst &options)
Definition: goto_diff_parse_options.cpp:75
ui_message.h