CBMC
Loading...
Searching...
No Matches
goto_inspect_main.cpp
Go to the documentation of this file.
1// Author: Fotis Koutoulakis for Diffblue Ltd.
2
3#ifdef _MSC_VER
4# include <util/unicode.h>
5#endif
6
8
9#ifdef _MSC_VER
10int wmain(int argc, const wchar_t **argv_wide)
11{
12 auto vec = narrow_argv(argc, argv_wide);
13 auto narrow = to_c_str_array(std::begin(vec), std::end(vec));
14 auto argv = narrow.data();
15#else
16int main(int argc, const char **argv)
17{
18#endif
19 return goto_inspect_parse_optionst{argc, argv}.main();
20}
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
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