CBMC
goto_instrument_parse_optionst Class Reference

#include <goto_instrument_parse_options.h>

+ Inheritance diagram for goto_instrument_parse_optionst:
+ Collaboration diagram for goto_instrument_parse_optionst:

Public Member Functions

int doit () override
 invoke main modules More...
 
void help () override
 display command line help More...
 
 goto_instrument_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, const std::string &program)
 
virtual void usage_error ()
 
virtual int main ()
 
virtual ~parse_options_baset ()
 
void log_version_and_architecture (const std::string &front_end)
 Write version and system architecture to log.status(). More...
 

Protected Member Functions

void register_languages () override
 
void get_goto_program ()
 
void instrument_goto_program ()
 
void do_indirect_call_and_rtti_removal (bool force=false)
 
void do_remove_const_function_pointers_only ()
 Remove function pointers that can be resolved by analysing const variables (i.e. More...
 
void do_partial_inlining ()
 
void do_remove_returns ()
 

Protected Attributes

bool function_pointer_removal_done
 
bool partial_inlining_done
 
bool remove_returns_done
 
goto_modelt goto_model
 
- Protected Attributes inherited from parse_options_baset
ui_message_handlert ui_message_handler
 
messaget log
 

Additional Inherited Members

- Public Attributes inherited from parse_options_baset
cmdlinet cmdline
 

Detailed Description

Definition at line 134 of file goto_instrument_parse_options.h.

Constructor & Destructor Documentation

◆ goto_instrument_parse_optionst()

goto_instrument_parse_optionst::goto_instrument_parse_optionst ( int  argc,
const char **  argv 
)
inline

Definition at line 140 of file goto_instrument_parse_options.h.

Member Function Documentation

◆ do_indirect_call_and_rtti_removal()

void goto_instrument_parse_optionst::do_indirect_call_and_rtti_removal ( bool  force = false)
protected

Definition at line 943 of file goto_instrument_parse_options.cpp.

◆ do_partial_inlining()

void goto_instrument_parse_optionst::do_partial_inlining ( )
protected

Definition at line 978 of file goto_instrument_parse_options.cpp.

◆ do_remove_const_function_pointers_only()

void goto_instrument_parse_optionst::do_remove_const_function_pointers_only ( )
protected

Remove function pointers that can be resolved by analysing const variables (i.e.

can be resolved using remove_const_function_pointers). Function pointers that cannot be resolved will be left as function pointers.

Definition at line 962 of file goto_instrument_parse_options.cpp.

◆ do_remove_returns()

void goto_instrument_parse_optionst::do_remove_returns ( )
protected

Definition at line 992 of file goto_instrument_parse_options.cpp.

◆ doit()

int goto_instrument_parse_optionst::doit ( )
overridevirtual

invoke main modules

Implements parse_options_baset.

Definition at line 113 of file goto_instrument_parse_options.cpp.

◆ get_goto_program()

void goto_instrument_parse_optionst::get_goto_program ( )
protected

Definition at line 1003 of file goto_instrument_parse_options.cpp.

◆ help()

void goto_instrument_parse_optionst::help ( )
overridevirtual

display command line help

Reimplemented from parse_options_baset.

Definition at line 1850 of file goto_instrument_parse_options.cpp.

◆ instrument_goto_program()

void goto_instrument_parse_optionst::instrument_goto_program ( )
protected

Definition at line 1020 of file goto_instrument_parse_options.cpp.

◆ register_languages()

void goto_instrument_parse_optionst::register_languages ( )
overrideprotectedvirtual

Reimplemented from parse_options_baset.

Definition at line 19 of file goto_instrument_languages.cpp.

Member Data Documentation

◆ function_pointer_removal_done

bool goto_instrument_parse_optionst::function_pointer_removal_done
protected

Definition at line 163 of file goto_instrument_parse_options.h.

◆ goto_model

goto_modelt goto_instrument_parse_optionst::goto_model
protected

Definition at line 167 of file goto_instrument_parse_options.h.

◆ partial_inlining_done

bool goto_instrument_parse_optionst::partial_inlining_done
protected

Definition at line 164 of file goto_instrument_parse_options.h.

◆ remove_returns_done

bool goto_instrument_parse_optionst::remove_returns_done
protected

Definition at line 165 of file goto_instrument_parse_options.h.


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