CBMC
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
g
j
l
m
r
t
w
Functions
a
c
d
f
g
r
t
w
Typedefs
Enumerations
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
i
k
l
m
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Related Symbols
b
c
d
e
g
i
j
m
n
o
s
t
u
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
y
Typedefs
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
_
a
b
c
d
f
g
i
l
m
p
r
s
t
u
v
w
Enumerator
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
goto_synthesizer_parse_options.h
Go to the documentation of this file.
1
/*******************************************************************\
2
Module: Command Line Parsing
3
Author: Qinheping Hu
4
\*******************************************************************/
5
8
9
#ifndef CPROVER_GOTO_SYNTHESIZER_GOTO_SYNTHESIZER_PARSE_OPTIONS_H
10
#define CPROVER_GOTO_SYNTHESIZER_GOTO_SYNTHESIZER_PARSE_OPTIONS_H
11
12
#include <
util/config.h
>
13
#include <
util/options.h
>
14
#include <
util/parse_options.h
>
15
16
#include <
goto-programs/goto_model.h
>
17
18
#include <
goto-checker/solver_factory.h
>
19
#include <
goto-instrument/contracts/contracts.h
>
20
21
#include "
dump_loop_contracts.h
"
22
23
// clang-format off
24
#define GOTO_SYNTHESIZER_OPTIONS \
25
OPT_DUMP_LOOP_CONTRACTS \
26
"(" FLAG_LOOP_CONTRACTS_NO_UNWIND ")" \
27
OPT_CONFIG_BACKEND \
28
OPT_SOLVER \
29
"(arrays-uf-always)(arrays-uf-never)" \
30
"(verbosity):(version)(xml-ui)(json-ui)" \
31
// empty last line
32
33
// clang-format on
34
35
class
goto_synthesizer_parse_optionst
:
public
parse_options_baset
36
{
37
public
:
38
int
doit
()
override
;
39
void
help
()
override
;
40
41
goto_synthesizer_parse_optionst
(
int
argc,
const
char
**argv);
42
43
protected
:
44
void
register_languages
()
override
;
45
46
int
get_goto_program
();
47
48
// Get the options same as using CBMC api without any flags and set any
49
// options specified in the command line.
50
optionst
get_options
();
51
52
goto_modelt
goto_model
;
53
};
35
class
goto_synthesizer_parse_optionst
:
public
parse_options_baset
{
…
};
54
55
#endif
// CPROVER_GOTO_SYNTHESIZER_GOTO_SYNTHESIZER_PARSE_OPTIONS_H
goto_modelt
Definition
goto_model.h:27
goto_synthesizer_parse_optionst
Definition
goto_synthesizer_parse_options.h:36
goto_synthesizer_parse_optionst::help
void help() override
display command line help
Definition
goto_synthesizer_parse_options.cpp:236
goto_synthesizer_parse_optionst::get_options
optionst get_options()
Definition
goto_synthesizer_parse_options.cpp:198
goto_synthesizer_parse_optionst::register_languages
void register_languages() override
Definition
goto_synthesizer_languages.cpp:15
goto_synthesizer_parse_optionst::get_goto_program
int get_goto_program()
Definition
goto_synthesizer_parse_options.cpp:180
goto_synthesizer_parse_optionst::goto_model
goto_modelt goto_model
Definition
goto_synthesizer_parse_options.h:52
goto_synthesizer_parse_optionst::doit
int doit() override
invoke main modules
Definition
goto_synthesizer_parse_options.cpp:46
optionst
Definition
options.h:23
parse_options_baset
Definition
parse_options.h:20
config.h
contracts.h
Verify and use annotated invariants and pre/post-conditions.
dump_loop_contracts.h
Dump Loop Contracts as JSON.
goto_model.h
Symbol Table + CFG.
options.h
Options.
parse_options.h
solver_factory.h
Solver Factory.
src
goto-synthesizer
goto_synthesizer_parse_options.h
Generated by
1.9.8