Go to the documentation of this file.
14 #ifndef CPROVER_GOTO_INSTRUMENT_HAVOC_UTILS_H
15 #define CPROVER_GOTO_INSTRUMENT_HAVOC_UTILS_H
106 #endif // CPROVER_GOTO_INSTRUMENT_HAVOC_UTILS_H
Determine whether an expression is constant.
A class containing utility functions for havocing expressions.
virtual void append_scalar_havoc_code_for_expr(const source_locationt location, const exprt &expr, goto_programt &dest) const
Append goto instructions to havoc the value of expr
Base class for all expressions.
const havoc_utils_is_constantt is_constant
virtual void append_havoc_code_for_expr(const source_locationt location, const exprt &expr, goto_programt &dest) const
Append goto instructions to havoc a single expression expr
havoc_utils_is_constantt(const assignst &mod)
virtual bool is_constant(const exprt &) const
This function determines what expressions are to be propagated as "constants".
havoc_utilst(const assignst &mod)
bool is_constant(const exprt &expr) const override
This function determines what expressions are to be propagated as "constants".
virtual void append_object_havoc_code_for_expr(const source_locationt location, const exprt &expr, goto_programt &dest) const
Append goto instructions to havoc the underlying object of expr
void append_full_havoc_code(const source_locationt location, goto_programt &dest) const
Append goto instructions to havoc the full assigns set.
const irep_idt & id() const
std::set< exprt > assignst
Deprecated expression utility functions.
A generic container class for the GOTO intermediate representation of one function.