CBMC
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
wp.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Weakest Preconditions
4
5Author: Daniel Kroening, kroening@kroening.com
6
7\*******************************************************************/
8
11
12#ifndef CPROVER_GOTO_PROGRAMS_WP_H
13#define CPROVER_GOTO_PROGRAMS_WP_H
14
15class codet;
16class exprt;
17class namespacet;
18
25exprt wp(
26 const codet &code,
27 const exprt &post,
28 const namespacet &ns);
29
32void approximate_nondet(exprt &dest);
33
34#endif // CPROVER_GOTO_PROGRAMS_WP_H
Data structure for representing an arbitrary statement in a program.
Base class for all expressions.
Definition expr.h:56
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition namespace.h:91
void approximate_nondet(exprt &dest)
Approximate the non-deterministic choice in a way cheaper than by (proper) quantification.
Definition wp.cpp:57
exprt wp(const codet &code, const exprt &post, const namespacet &ns)
Compute the weakest precondition of the given program piece code with respect to the expression post.
Definition wp.cpp:239