CBMC
Loading...
Searching...
No Matches
goto_analyzer_main.cpp
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Goto-Analyser Main Module
4
5Author: Daniel Kroening, kroening@kroening.com
6
7\*******************************************************************/
8
11
13
14#ifdef _MSC_VER
15# include <util/unicode.h>
16
17int wmain(int argc, const wchar_t **argv_wide)
18{
19 auto vec=narrow_argv(argc, argv_wide);
20 auto narrow=to_c_str_array(std::begin(vec), std::end(vec));
21 auto argv=narrow.data();
22#else
23int main(int argc, const char **argv)
24{
25#endif
27
28 return parse_options.main();
29}
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Definition ai.h:562
int main()
Definition example.cpp:18
Goto-Analyser Command Line Option Processing.
output_type narrow(input_type input)
Run-time checked narrowing cast.
Definition narrow.h:34
std::vector< std::string > narrow_argv(int argc, const wchar_t **argv_wide)
Definition unicode.cpp:148
std::vector< const char * > to_c_str_array(It b, It e)
Definition unicode.h:65