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 130 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 

Definition at line 136 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)

Definition at line 918 of file goto_instrument_parse_options.cpp.

◆ do_partial_inlining()

void goto_instrument_parse_optionst::do_partial_inlining ( )

Definition at line 955 of file goto_instrument_parse_options.cpp.

◆ do_remove_const_function_pointers_only()

void goto_instrument_parse_optionst::do_remove_const_function_pointers_only ( )

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 938 of file goto_instrument_parse_options.cpp.

◆ do_remove_returns()

void goto_instrument_parse_optionst::do_remove_returns ( )

Definition at line 969 of file goto_instrument_parse_options.cpp.

◆ doit()

int goto_instrument_parse_optionst::doit ( )

invoke main modules

Implements parse_options_baset.

Definition at line 119 of file goto_instrument_parse_options.cpp.

◆ get_goto_program()

void goto_instrument_parse_optionst::get_goto_program ( )

Definition at line 980 of file goto_instrument_parse_options.cpp.

◆ help()

void goto_instrument_parse_optionst::help ( )

display command line help

Reimplemented from parse_options_baset.

Definition at line 1749 of file goto_instrument_parse_options.cpp.

◆ instrument_goto_program()

void goto_instrument_parse_optionst::instrument_goto_program ( )

Definition at line 997 of file goto_instrument_parse_options.cpp.

◆ register_languages()

void goto_instrument_parse_optionst::register_languages ( )

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

Definition at line 159 of file goto_instrument_parse_options.h.

◆ goto_model

goto_modelt goto_instrument_parse_optionst::goto_model

Definition at line 163 of file goto_instrument_parse_options.h.

◆ partial_inlining_done

bool goto_instrument_parse_optionst::partial_inlining_done

Definition at line 160 of file goto_instrument_parse_options.h.

◆ remove_returns_done

bool goto_instrument_parse_optionst::remove_returns_done

Definition at line 161 of file goto_instrument_parse_options.h.

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