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/parse_options.h
>
18
#include <
util/timestamper.h
>
19
20
#include <
goto-programs/show_goto_functions.h
>
21
#include <
goto-programs/show_properties.h
>
22
23
#include <
goto-instrument/cover.h
>
24
25
class
goto_modelt
;
26
27
// clang-format off
28
#define JDIFF_OPTIONS \
29
"(json-ui)" \
30
OPT_SHOW_GOTO_FUNCTIONS \
31
OPT_SHOW_PROPERTIES \
32
OPT_GOTO_CHECK \
33
OPT_COVER \
34
"(verbosity):(version)" \
35
"(no-lazy-methods)"
/* should go away */
\
36
"(no-refine-strings)"
/* should go away */
\
37
OPT_TIMESTAMP \
38
"u(unified)(change-impact)(forward-impact)(backward-impact)" \
39
"(compact-output)"
40
// clang-format on
41
42
class
jdiff_parse_optionst
:
public
parse_options_baset
43
{
44
public
:
45
int
doit
()
override
;
46
void
help
()
override
;
47
48
jdiff_parse_optionst
(
int
argc,
const
char
**argv);
49
50
protected
:
51
void
register_languages
()
override
;
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_JDIFF_JDIFF_PARSE_OPTIONS_H
cover.h
Coverage Instrumentation.
jdiff_parse_optionst::get_command_line_options
void get_command_line_options(optionst &options)
Definition:
jdiff_parse_options.cpp:56
parse_options_baset
Definition:
parse_options.h:20
optionst
Definition:
options.h:23
jdiff_parse_optionst
Definition:
jdiff_parse_options.h:43
goto_modelt
Definition:
goto_model.h:26
show_goto_functions.h
Show the goto functions.
show_properties.h
Show the properties.
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:47
jdiff_parse_optionst::register_languages
void register_languages() override
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:246
timestamper.h
Emit timestamps.
jdiff_parse_optionst::help
void help() override
display command line help
Definition:
jdiff_parse_options.cpp:321
jdiff_parse_optionst::doit
int doit() override
invoke main modules
Definition:
jdiff_parse_options.cpp:160
jbmc
src
jdiff
jdiff_parse_options.h
Generated by
1.8.20