cprover
counterexample_beautification.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Counterexample Beautification
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_CBMC_COUNTEREXAMPLE_BEAUTIFICATION_H
13 #define CPROVER_CBMC_COUNTEREXAMPLE_BEAUTIFICATION_H
14 
15 #include <util/namespace.h>
16 
18 
20 
22 {
23 public:
25  {
26  }
27 
28  void
29  operator()(boolbvt &boolbv, const symex_target_equationt &equation);
30 
31 protected:
33  prop_convt &prop_conv,
34  const symex_target_equationt &equation,
35  minimization_listt &minimization_list);
36 
37  void minimize(
38  const exprt &expr,
39  class prop_minimizet &prop_minimize);
40 
41  symex_target_equationt::SSA_stepst::const_iterator get_failed_property(
42  const prop_convt &prop_conv,
43  const symex_target_equationt &equation);
44 
45  // the failed property
46  symex_target_equationt::SSA_stepst::const_iterator failed;
47 };
48 
49 #endif // CPROVER_CBMC_COUNTEREXAMPLE_BEAUTIFICATION_H
counterexample_beautificationt::get_failed_property
symex_target_equationt::SSA_stepst::const_iterator get_failed_property(const prop_convt &prop_conv, const symex_target_equationt &equation)
Definition: counterexample_beautification.cpp:63
symex_target_equation.h
minimization_listt
std::set< exprt > minimization_listt
Definition: bv_minimize.h:23
prop_minimizet
Computes a satisfying assignment of minimal cost according to a const function using incremental SAT.
Definition: minimize.h:23
prop_convt
Definition: prop_conv.h:27
counterexample_beautificationt
Definition: counterexample_beautification.h:21
exprt
Base class for all expressions.
Definition: expr.h:54
namespace.h
counterexample_beautificationt::minimize
void minimize(const exprt &expr, class prop_minimizet &prop_minimize)
counterexample_beautificationt::failed
symex_target_equationt::SSA_stepst::const_iterator failed
Definition: counterexample_beautification.h:46
symex_target_equationt
Inheriting the interface of symex_targett this class represents the SSA form of the input program as ...
Definition: symex_target_equation.h:35
counterexample_beautificationt::get_minimization_list
void get_minimization_list(prop_convt &prop_conv, const symex_target_equationt &equation, minimization_listt &minimization_list)
Definition: counterexample_beautification.cpp:22
bv_minimize.h
counterexample_beautificationt::operator()
void operator()(boolbvt &boolbv, const symex_target_equationt &equation)
Definition: counterexample_beautification.cpp:82
boolbvt
Definition: boolbv.h:32
counterexample_beautificationt::~counterexample_beautificationt
virtual ~counterexample_beautificationt()
Definition: counterexample_beautification.h:24