CBMC
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
counterexample_beautification.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Counterexample Beautification
4
5Author: Daniel Kroening, kroening@kroening.com
6
7\*******************************************************************/
8
11
12#ifndef CPROVER_GOTO_CHECKER_COUNTEREXAMPLE_BEAUTIFICATION_H
13#define CPROVER_GOTO_CHECKER_COUNTEREXAMPLE_BEAUTIFICATION_H
14
16
18
20{
21public:
22 explicit counterexample_beautificationt(message_handlert &message_handler);
24
25 void operator()(boolbvt &boolbv, const symex_target_equationt &equation);
26
27protected:
29 prop_convt &prop_conv,
30 const symex_target_equationt &equation,
32
33 void minimize(const exprt &expr, class prop_minimizet &prop_minimize);
34
35 symex_target_equationt::SSA_stepst::const_iterator get_failed_property(
36 const prop_convt &prop_conv,
37 const symex_target_equationt &equation);
38
39 // the failed property
40 symex_target_equationt::SSA_stepst::const_iterator failed;
41
43};
44
45#endif // CPROVER_GOTO_CHECKER_COUNTEREXAMPLE_BEAUTIFICATION_H
SAT-optimizer for minimizing expressions.
std::set< exprt > minimization_listt
Definition bv_minimize.h:23
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Definition ai.h:562
void operator()(boolbvt &boolbv, const symex_target_equationt &equation)
virtual ~counterexample_beautificationt()=default
void get_minimization_list(prop_convt &prop_conv, const symex_target_equationt &equation, minimization_listt &minimization_list)
symex_target_equationt::SSA_stepst::const_iterator failed
symex_target_equationt::SSA_stepst::const_iterator get_failed_property(const prop_convt &prop_conv, const symex_target_equationt &equation)
void minimize(const exprt &expr, class prop_minimizet &prop_minimize)
Base class for all expressions.
Definition expr.h:56
Class that provides messages with a built-in verbosity 'level'.
Definition message.h:154
Computes a satisfying assignment of minimal cost according to a const function using incremental SAT.
Inheriting the interface of symex_targett this class represents the SSA form of the input program as ...
Generate Equation using Symbolic Execution.