cprover
bmc_covert Class Reference
Inheritance diagram for bmc_covert:
[legend]
Collaboration diagram for bmc_covert:
[legend]

Classes

struct  goalt
 
struct  testt
 

Public Types

typedef std::map< irep_idt, goaltgoal_mapt
 
typedef std::vector< testttestst
 
- 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
}
 

Public Member Functions

 bmc_covert (const goto_functionst &_goto_functions, bmct &_bmc)
 
bool operator() ()
 
virtual void satisfying_assignment ()
 
irep_idt id (goto_programt::const_targett loc)
 
std::string get_test (const goto_tracet &goto_trace) const
 
- Public Member Functions inherited from cover_goalst::observert
virtual void goal_covered (const goalt &)
 
- 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...
 

Public Attributes

goal_mapt goal_map
 
testst tests
 

Protected Attributes

const goto_functionstgoto_functions
 
prop_convtsolver
 
bmctbmc
 
- Protected Attributes inherited from messaget
message_handlertmessage_handler
 
mstreamt mstream
 

Additional Inherited Members

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

Detailed Description

Definition at line 34 of file bmc_cover.cpp.

Member Typedef Documentation

◆ goal_mapt

typedef std::map<irep_idt, goalt> bmc_covert::goal_mapt

Definition at line 114 of file bmc_cover.cpp.

◆ testst

typedef std::vector<testt> bmc_covert::testst

Definition at line 116 of file bmc_cover.cpp.

Constructor & Destructor Documentation

◆ bmc_covert()

bmc_covert::bmc_covert ( const goto_functionst _goto_functions,
bmct _bmc 
)
inline

Definition at line 39 of file bmc_cover.cpp.

Member Function Documentation

◆ get_test()

std::string bmc_covert::get_test ( const goto_tracet goto_trace) const
inline

Definition at line 119 of file bmc_cover.cpp.

References bmc, from_expr(), id2string(), bmct::ns, and goto_tracet::steps.

Referenced by operator()().

◆ id()

irep_idt bmc_covert::id ( goto_programt::const_targett  loc)
inline

Definition at line 109 of file bmc_cover.cpp.

References loc.

Referenced by operator()().

◆ operator()()

◆ satisfying_assignment()

Member Data Documentation

◆ bmc

bmct& bmc_covert::bmc
protected

Definition at line 144 of file bmc_cover.cpp.

Referenced by get_test(), operator()(), and satisfying_assignment().

◆ goal_map

goal_mapt bmc_covert::goal_map

Definition at line 115 of file bmc_cover.cpp.

Referenced by operator()(), and satisfying_assignment().

◆ goto_functions

const goto_functionst& bmc_covert::goto_functions
protected

Definition at line 142 of file bmc_cover.cpp.

Referenced by operator()().

◆ solver

prop_convt& bmc_covert::solver
protected

Definition at line 143 of file bmc_cover.cpp.

Referenced by operator()(), and satisfying_assignment().

◆ tests

testst bmc_covert::tests

Definition at line 117 of file bmc_cover.cpp.

Referenced by operator()(), and satisfying_assignment().


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