Go to the documentation of this file.
23 i_it->turn_into_skip();
25 const bool is_function_entry_point =
27 const bool is_conditional_goto = i_it->is_goto() && !i_it->guard.is_true();
28 if(!is_function_entry_point && !is_conditional_goto)
34 if(is_function_entry_point)
38 std::string
comment =
"entry point";
47 if(is_conditional_goto)
51 std::string true_comment =
"block " + b +
" branch true";
52 std::string false_comment =
"block " + b +
" branch false";
54 exprt guard = i_it->guard;
65 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 initialize_source_location(goto_programt::targett t, const std::string &comment, const irep_idt &function_id) const
Base class for all expressions.
std::string to_string(const string_not_contains_constraintt &expr)
Used for debug printing.
const goal_filterst & goal_filters
targett insert_before(const_targett target)
Insertion before the instruction pointed-to by the given instruction iterator target.
static instructiont make_assertion(const exprt &g, const source_locationt &l=source_locationt::nil())
The Boolean constant false.
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".
void instrument(const irep_idt &function_id, goto_programt &, goto_programt::targett &, const cover_blocks_baset &) const override
Override this method to implement an instrumenter.
static std::string comment(const rw_set_baset::entryt &entry, bool write)
virtual std::size_t block_of(goto_programt::const_targett t) const =0
instructionst::iterator targett