17 const auto &state = ok_expr.
state();
18 const auto &pointer = ok_expr.
address();
19 const auto &size = ok_expr.
size();
42 auto offset_casted_to_unsigned =
44 auto offset_extended =
48 plus_exprt(offset_extended, size_casted), ID_le, object_size_casted);
52 if(ok_expr.
id() == ID_state_w_ok || ok_expr.
id() == ID_state_rw_ok)
signedbv_typet signed_size_type()
A base class for relations, i.e., binary predicates whose two operands have the same type.
Base class for all expressions.
void add_to_operands(const exprt &expr)
Add the given argument to the end of exprt's operands.
const irep_idt & id() const
The plus expression Associativity is not specified.
The offset (in bytes) of a pointer relative to the object.
const exprt & address() const
const exprt & state() const
const exprt & size() const
Semantic type conversion.
static exprt conditional_cast(const exprt &expr, const typet &type)
Fixed-width bit-vector with unsigned binary interpretation.
exprt flatten(const state_ok_exprt &ok_expr)
exprt object_size(const exprt &pointer)
exprt conjunction(const exprt::operandst &op)
1) generates a conjunction for two or more operands 2) for one operand, returns the operand 3) return...