Go to the documentation of this file.
19 #define EX_SOFTWARE 70
34 const std::string &_base_name,
36 : cmdline(_cmdline), base_name(_base_name), message_handler(_message_handler)
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 " --export-file-local-symbols\n"
68 " name-mangle and export file-local symbols\n"
69 " --mangle-suffix suffix append suffix to exported file-local symbols\n"
70 " --print-rejected-preprocessed-source file\n"
71 " copy failing (preprocessed) source to file\n"
72 " --object-bits number of bits used for object addresses\n"
99 catch(
const std::string &e)
111 catch(
const std::bad_alloc &)
138 std::cerr <<
"Usage error!\n\n";
Class that provides messages with a built-in verbosity 'level'.
void register_languages()
message_handlert & message_handler
~goto_cc_modet()
constructor
Thrown when we can't handle something in an input source file.
virtual void help_mode()=0
const source_locationt & get_source_location() const
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
goto_cc_cmdlinet & cmdline
goto_cc_modet(goto_cc_cmdlinet &, const std::string &_base_name, message_handlert &)
constructor
virtual std::string what() const
A human readable description of what went wrong.
int main(int argc, const char **argv)
starts the compiler
virtual bool parse(int argc, const char **argv)=0
const std::string & get_reason() const
void help()
display command line help
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.