Go to the documentation of this file.
27 std::string
comment =
"entry point";
33 t->source_location = source_location;
38 i_it->is_goto() && !i_it->guard.is_true() &&
39 !i_it->source_location.is_built_in())
43 std::string true_comment =
"block " + b +
" branch true";
44 std::string false_comment =
"block " + b +
" branch false";
46 exprt guard = i_it->guard;
47 const irep_idt function = i_it->function;
52 i_it->source_location = source_location;
56 i_it->make_assertion(guard);
57 i_it->source_location = source_location;
60 std::advance(i_it, 2);
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
bool is_non_cover_assertion(goto_programt::const_targett t) const
void instrument(goto_programt &, goto_programt::targett &, const cover_blocks_baset &) const override
Override this method to implement an instrumenter.
std::string comment(const rw_set_baset::entryt &entry, bool write)
Base class for all expressions.
std::string to_string(const string_not_contains_constraintt &expr)
Used for debug printing.
targett insert_before(const_targett target)
Insertion before the instruction pointed-to by the given instruction iterator target.
The Boolean constant false.
void initialize_source_location(goto_programt::targett t, const std::string &comment, const irep_idt &function) const
instructionst instructions
The list of instructions in the goto program.
A generic container class for the GOTO intermediate representation of one function.
void insert_before_swap(targett target)
Insertion that preserves jumps to "target".
virtual std::size_t block_of(goto_programt::const_targett t) const =0
instructionst::iterator targett