cprover
janalyzer_parse_optionst Class Reference

#include <janalyzer_parse_options.h>

Inheritance diagram for janalyzer_parse_optionst:
[legend]
Collaboration diagram for janalyzer_parse_optionst:
[legend]

Public Member Functions

virtual int doit () override
 invoke main modules More...
 
virtual void help () override
 display command line help More...
 
 janalyzer_parse_optionst (int argc, const char **argv)
 
- Public Member Functions inherited from parse_options_baset
 parse_options_baset (const std::string &optstring, int argc, const char **argv)
 
virtual void usage_error ()
 
virtual int main ()
 
virtual ~parse_options_baset ()
 
- Public Member Functions inherited from messaget
virtual void set_message_handler (message_handlert &_message_handler)
 
message_handlertget_message_handler ()
 
 messaget ()
 
 messaget (const messaget &other)
 
messagetoperator= (const messaget &other)
 
 messaget (message_handlert &_message_handler)
 
virtual ~messaget ()
 
mstreamtget_mstream (unsigned message_level) const
 
mstreamterror () const
 
mstreamtwarning () const
 
mstreamtresult () const
 
mstreamtstatus () const
 
mstreamtstatistics () const
 
mstreamtprogress () const
 
mstreamtdebug () const
 
void conditional_output (mstreamt &mstream, const std::function< void(mstreamt &)> &output_generator) const
 Generate output to mstream using output_generator if the configured verbosity is at least as high as that of mstream. More...
 

Protected Member Functions

virtual void register_languages ()
 
virtual void get_command_line_options (optionst &options)
 
virtual bool process_goto_program (const optionst &options)
 
bool set_properties ()
 
virtual int perform_analysis (const optionst &options)
 Depending on the command line mode, run one of the analysis tasks. More...
 
ai_basetbuild_analyzer (const optionst &, const namespacet &ns)
 For the task, build the appropriate kind of analyzer Ideally this should be a pure function of options. More...
 
ui_message_handlert::uit get_ui ()
 

Protected Attributes

ui_message_handlert ui_message_handler
 
goto_modelt goto_model
 
- Protected Attributes inherited from messaget
message_handlertmessage_handler
 
mstreamt mstream
 

Additional Inherited Members

- Public Types inherited from messaget
enum  message_levelt {
  M_ERROR =1, M_WARNING =2, M_RESULT =4, M_STATUS =6,
  M_STATISTICS =8, M_PROGRESS =9, M_DEBUG =10
}
 
- Static Public Member Functions inherited from messaget
static unsigned eval_verbosity (const std::string &user_input, const message_levelt default_verbosity, message_handlert &dest)
 Parse a (user-)provided string as a verbosity level and set it as the verbosity of dest. More...
 
static mstreamteom (mstreamt &m)
 
static mstreamtendl (mstreamt &m)
 
- Public Attributes inherited from parse_options_baset
cmdlinet cmdline
 

Detailed Description

Definition at line 153 of file janalyzer_parse_options.h.

Constructor & Destructor Documentation

◆ janalyzer_parse_optionst()

janalyzer_parse_optionst::janalyzer_parse_optionst ( int  argc,
const char **  argv 
)

Definition at line 59 of file janalyzer_parse_options.cpp.

Member Function Documentation

◆ build_analyzer()

ai_baset * janalyzer_parse_optionst::build_analyzer ( const optionst options,
const namespacet ns 
)
protected

For the task, build the appropriate kind of analyzer Ideally this should be a pure function of options.

However at the moment some domains require the goto_model

Definition at line 265 of file janalyzer_parse_options.cpp.

References optionst::get_bool_option(), goto_modelt::goto_functions, and goto_model.

Referenced by perform_analysis().

◆ doit()

◆ get_command_line_options()

◆ get_ui()

ui_message_handlert::uit janalyzer_parse_optionst::get_ui ( )
inlineprotected

Definition at line 176 of file janalyzer_parse_options.h.

References ui_message_handlert::get_ui(), and ui_message_handler.

Referenced by doit(), and perform_analysis().

◆ help()

void janalyzer_parse_optionst::help ( )
overridevirtual

◆ perform_analysis()

◆ process_goto_program()

◆ register_languages()

void janalyzer_parse_optionst::register_languages ( )
protectedvirtual

Definition at line 66 of file janalyzer_parse_options.cpp.

References new_java_bytecode_language(), and register_language().

Referenced by doit().

◆ set_properties()

bool janalyzer_parse_optionst::set_properties ( )
protected

Member Data Documentation

◆ goto_model

goto_modelt janalyzer_parse_optionst::goto_model
protected

◆ ui_message_handler

ui_message_handlert janalyzer_parse_optionst::ui_message_handler
protected

Definition at line 162 of file janalyzer_parse_options.h.

Referenced by doit(), get_ui(), and process_goto_program().


The documentation for this class was generated from the following files: