CBMC
goto_synthesizer_main.cpp
Go to the documentation of this file.
1
/*******************************************************************\
2
Module: Main Module
3
Author: Qinheping Hu
4
\*******************************************************************/
5
8
9
#ifdef _MSC_VER
10
# include <
util/unicode.h
>
11
#endif
12
13
#include "
goto_synthesizer_parse_options.h
"
14
15
#ifdef _MSC_VER
16
int
wmain(
int
argc,
const
wchar_t
**argv_wide)
17
{
18
auto
vec =
narrow_argv
(argc, argv_wide);
19
auto
narrow
=
to_c_str_array
(std::begin(vec), std::end(vec));
20
auto
argv =
narrow
.data();
21
#else
22
int
main
(
int
argc,
const
char
**argv)
23
{
24
#endif
25
goto_synthesizer_parse_optionst
parse_options(argc, argv);
26
return
parse_options.
main
();
27
}
goto_synthesizer_parse_optionst
Definition:
goto_synthesizer_parse_options.h:36
parse_options_baset::main
virtual int main()
Definition:
parse_options.cpp:75
main
int main(int argc, const char **argv)
Definition:
goto_synthesizer_main.cpp:22
goto_synthesizer_parse_options.h
Command Line Parsing.
narrow
output_type narrow(input_type input)
Run-time checked narrowing cast.
Definition:
narrow.h:34
narrow_argv
std::vector< std::string > narrow_argv(int argc, const wchar_t **argv_wide)
Definition:
unicode.cpp:149
unicode.h
to_c_str_array
std::vector< const char * > to_c_str_array(It b, It e)
Definition:
unicode.h:66
src
goto-synthesizer
goto_synthesizer_main.cpp
Generated by
1.9.1