cprover
jdiff_parse_options.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: JDIFF Command Line Option Processing
4
5
Author: Peter Schrammel
6
7
\*******************************************************************/
8
11
12
#ifndef CPROVER_JDIFF_JDIFF_PARSE_OPTIONS_H
13
#define CPROVER_JDIFF_JDIFF_PARSE_OPTIONS_H
14
15
#include <
analyses/goto_check.h
>
16
17
#include <
util/options.h
>
18
#include <
util/parse_options.h
>
19
#include <
util/timestamper.h
>
20
#include <
util/ui_message.h
>
21
22
#include <
goto-programs/goto_model.h
>
23
#include <
goto-programs/show_goto_functions.h
>
24
#include <
goto-programs/show_properties.h
>
25
26
#include <
goto-instrument/cover.h
>
27
28
class
goto_modelt
;
29
30
// clang-format off
31
#define JDIFF_OPTIONS \
32
"(json-ui)" \
33
OPT_SHOW_GOTO_FUNCTIONS \
34
OPT_SHOW_PROPERTIES \
35
OPT_GOTO_CHECK \
36
OPT_COVER \
37
"(verbosity):(version)" \
38
"(no-lazy-methods)"
/* should go away */
\
39
"(no-refine-strings)"
/* should go away */
\
40
OPT_TIMESTAMP \
41
"u(unified)(change-impact)(forward-impact)(backward-impact)" \
42
"(compact-output)"
43
// clang-format on
44
45
class
jdiff_parse_optionst
:
public
parse_options_baset
46
{
47
public
:
48
virtual
int
doit
();
49
virtual
void
help
();
50
51
jdiff_parse_optionst
(
int
argc,
const
char
**argv);
52
53
protected
:
54
void
register_languages
();
55
56
void
get_command_line_options
(
optionst
&options);
57
58
bool
process_goto_program
(
const
optionst
&options,
goto_modelt
&goto_model);
59
};
60
61
#endif // CPROVER_JDIFF_JDIFF_PARSE_OPTIONS_H
jdiff_parse_optionst::doit
virtual int doit()
invoke main modules
Definition:
jdiff_parse_options.cpp:177
cover.h
Coverage Instrumentation.
jdiff_parse_optionst::get_command_line_options
void get_command_line_options(optionst &options)
Definition:
jdiff_parse_options.cpp:73
parse_options_baset
Definition:
parse_options.h:20
optionst
Definition:
options.h:23
jdiff_parse_optionst
Definition:
jdiff_parse_options.h:46
goto_model.h
Symbol Table + CFG.
goto_modelt
Definition:
goto_model.h:26
show_goto_functions.h
Show the goto functions.
options.h
Options.
show_properties.h
Show the properties.
jdiff_parse_optionst::help
virtual void help()
display command line help
Definition:
jdiff_parse_options.cpp:343
parse_options.h
goto_check.h
Program Transformation.
jdiff_parse_optionst::jdiff_parse_optionst
jdiff_parse_optionst(int argc, const char **argv)
Definition:
jdiff_parse_options.cpp:64
jdiff_parse_optionst::register_languages
void register_languages()
Definition:
jdiff_languages.cpp:18
jdiff_parse_optionst::process_goto_program
bool process_goto_program(const optionst &options, goto_modelt &goto_model)
Definition:
jdiff_parse_options.cpp:268
timestamper.h
Emit timestamps.
ui_message.h
jbmc
src
jdiff
jdiff_parse_options.h
Generated by
1.8.20