cprover
Toggle main menu visibility
Loading...
Searching...
No Matches
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 <
util/parse_options.h
>
16
#include <
util/timestamper.h
>
17
18
#include <
goto-programs/show_goto_functions.h
>
19
#include <
goto-programs/show_properties.h
>
20
21
#include <
goto-instrument/cover.h
>
22
23
class
goto_modelt
;
24
25
// clang-format off
26
#define JDIFF_OPTIONS \
27
"(json-ui)" \
28
OPT_SHOW_GOTO_FUNCTIONS \
29
OPT_SHOW_PROPERTIES \
30
"(show-loops)" \
31
"(no-assertions)(no-assumptions)" \
32
OPT_COVER \
33
"(verbosity):(version)" \
34
OPT_TIMESTAMP \
35
"u(unified)(change-impact)(forward-impact)(backward-impact)" \
36
"(compact-output)"
37
// clang-format on
38
39
class
jdiff_parse_optionst
:
public
parse_options_baset
40
{
41
public
:
42
int
doit
()
override
;
43
void
help
()
override
;
44
45
jdiff_parse_optionst
(
int
argc,
const
char
**argv);
46
47
protected
:
48
void
register_languages
()
override
;
49
50
void
get_command_line_options
(
optionst
&options);
51
52
bool
process_goto_program
(
const
optionst
&options,
goto_modelt
&goto_model);
53
};
54
55
#endif
// CPROVER_JDIFF_JDIFF_PARSE_OPTIONS_H
goto_modelt
Definition
goto_model.h:27
jdiff_parse_optionst::jdiff_parse_optionst
jdiff_parse_optionst(int argc, const char **argv)
Definition
jdiff_parse_options.cpp:45
jdiff_parse_optionst::register_languages
void register_languages() override
Definition
jdiff_languages.cpp:18
jdiff_parse_optionst::help
void help() override
display command line help
Definition
jdiff_parse_options.cpp:236
jdiff_parse_optionst::process_goto_program
bool process_goto_program(const optionst &options, goto_modelt &goto_model)
Definition
jdiff_parse_options.cpp:173
jdiff_parse_optionst::get_command_line_options
void get_command_line_options(optionst &options)
Definition
jdiff_parse_options.cpp:54
jdiff_parse_optionst::doit
int doit() override
invoke main modules
Definition
jdiff_parse_options.cpp:83
optionst
Definition
options.h:23
parse_options_baset::parse_options_baset
parse_options_baset(const std::string &optstring, int argc, const char **argv, const std::string &program)
Definition
parse_options.cpp:28
cover.h
Coverage Instrumentation.
parse_options.h
show_goto_functions.h
Show the goto functions.
show_properties.h
Show the properties.
timestamper.h
Emit timestamps.
jbmc
src
jdiff
jdiff_parse_options.h
Generated by
1.17.0