cprover
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

virtual int doit ()
 invoke main modules More...
 
virtual void help ()
 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 ()
 

Protected Member Functions

void register_languages ()
 
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 120 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 126 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 914 of file goto_instrument_parse_options.cpp.

◆ do_partial_inlining()

void goto_instrument_parse_optionst::do_partial_inlining ( )
protected

Definition at line 951 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 934 of file goto_instrument_parse_options.cpp.

◆ do_remove_returns()

void goto_instrument_parse_optionst::do_remove_returns ( )
protected

Definition at line 965 of file goto_instrument_parse_options.cpp.

◆ doit()

int goto_instrument_parse_optionst::doit ( )
virtual

invoke main modules

Implements parse_options_baset.

Definition at line 115 of file goto_instrument_parse_options.cpp.

◆ get_goto_program()

void goto_instrument_parse_optionst::get_goto_program ( )
protected

Definition at line 976 of file goto_instrument_parse_options.cpp.

◆ help()

void goto_instrument_parse_optionst::help ( )
virtual

display command line help

Reimplemented from parse_options_baset.

Definition at line 1639 of file goto_instrument_parse_options.cpp.

◆ instrument_goto_program()

void goto_instrument_parse_optionst::instrument_goto_program ( )
protected

Definition at line 993 of file goto_instrument_parse_options.cpp.

◆ register_languages()

void goto_instrument_parse_optionst::register_languages ( )
protected

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 149 of file goto_instrument_parse_options.h.

◆ goto_model

goto_modelt goto_instrument_parse_optionst::goto_model
protected

Definition at line 153 of file goto_instrument_parse_options.h.

◆ partial_inlining_done

bool goto_instrument_parse_optionst::partial_inlining_done
protected

Definition at line 150 of file goto_instrument_parse_options.h.

◆ remove_returns_done

bool goto_instrument_parse_optionst::remove_returns_done
protected

Definition at line 151 of file goto_instrument_parse_options.h.


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