Go to the documentation of this file.
20 #define EX_SOFTWARE 70
32 const std::string &_base_name,
62 " --verbosity # verbosity level\n"
63 " --function name set entry point to name\n"
64 " --native-compiler cmd command to invoke as preprocessor/compiler\n"
65 " --native-linker cmd command to invoke as linker\n"
66 " --native-assembler cmd command to invoke as assembler (goto-as only)\n"
67 " --print-rejected-preprocessed-source file\n"
68 " copy failing (preprocessed) source to file\n"
69 " --object-bits number of bits used for object addresses\n"
95 catch(
const std::string &e)
106 catch(
const std::bad_alloc &)
122 std::cerr <<
"Usage error!\n\n";
Class that provides messages with a built-in verbosity 'level'.
void register_languages()
~goto_cc_modet()
constructor
virtual void help_mode()=0
const char * CBMC_VERSION
std::string banner_string(const std::string &front_end, const std::string &version)
virtual void usage_error()
prints a message informing the user about incorrect options
virtual std::string what() const =0
A human readable description of what went wrong.
goto_cc_cmdlinet & cmdline
goto_cc_modet(goto_cc_cmdlinet &, const std::string &_base_name, message_handlert &)
constructor
int main(int argc, const char **argv)
starts the compiler
virtual bool parse(int argc, const char **argv)=0
void help()
display command line help
Command line interpretation for goto-cc.
std::string align_center_with_border(const std::string &text)
Utility for displaying help centered messages borderered by "* *".
Base class for exceptions thrown in the cprover project.