CBMC
cprover_parse_options.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: CPROVER Command Line Option Processing
4 
5 Author: Daniel Kroening, dkr@amazon.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_CPROVER_CPROVER_PARSE_OPTIONS_H
13 #define CPROVER_CPROVER_CPROVER_PARSE_OPTIONS_H
14 
15 #define CPROVER_OPTIONS \
16  "(help)?h(version)" \
17  "(smt2)(text)(outfile):" \
18  "(variables)" \
19  "(safety)(no-safety)(no-assertions)" \
20  "(contract):" \
21  "(solve)(unwind):(trace)" \
22  "(inline)(no-inline)" \
23  "D:I:" \
24  "(32)(64)" \
25  "(show-goto-functions)(show-loops)(show-properties)" \
26  "(show-functions-with-loops)" \
27  "(validate-goto-model)" \
28  "(verbose)"
29 
31 {
32 public:
33  int main();
34 
35  cprover_parse_optionst(int _argc, const char **_argv)
36  : argc(_argc), argv(_argv)
37  {
38  }
39 
40 protected:
41  int argc;
42  const char **argv;
43 
44  void help();
45 };
46 
47 #endif // CPROVER_CPROVER_CPROVER_PARSE_OPTIONS_H
void help()
display command line help
cprover_parse_optionst(int _argc, const char **_argv)