|
cprover
|
A collection of instrumenters to be run. More...
#include <cover_instrument.h>
Public Member Functions | |
| void | add_from_criterion (coverage_criteriont, const symbol_table_baset &, const goal_filterst &) |
| Create and add an instrumenter based on the given criterion. | |
| void | operator() (const irep_idt &function_id, goto_programt &goto_program, const cover_blocks_baset &basic_blocks, const cover_instrumenter_baset::assertion_factoryt &make_assertion) const |
| Applies all instrumenters to the given goto program. | |
Private Attributes | |
| std::vector< std::unique_ptr< cover_instrumenter_baset > > | instrumenters |
A collection of instrumenters to be run.
Definition at line 102 of file cover_instrument.h.
| void cover_instrumenterst::add_from_criterion | ( | coverage_criteriont | criterion, |
| const symbol_table_baset & | symbol_table, | ||
| const goal_filterst & | goal_filters ) |
|
inline |
Applies all instrumenters to the given goto program.
| function_id | name of goto_program |
| goto_program | a goto program |
| basic_blocks | detected basic blocks of the goto program |
| make_assertion | A function which makes goto program assertions. This parameter may be used to customise the expressions asserted. |
Definition at line 116 of file cover_instrument.h.
|
private |
Definition at line 127 of file cover_instrument.h.