Go to the documentation of this file.
14 #ifndef CPROVER_GOTO_INSTRUMENT_COVER_H
15 #define CPROVER_GOTO_INSTRUMENT_COVER_H
29 "(cover-failed-assertions)" \
33 " --cover CC create test-suite with coverage criterion " \
35 " where CC is one of assertion[s], " \
37 " branch[es], condition[s], cover, " \
39 " location[s], or mcdc\n" \
40 " --cover-failed-assertions do not stop coverage checking at failed " \
42 " (this is the default for --cover " \
44 " --show-test-suite print test suite for coverage criterion " \
45 "(requires --cover)\n"
69 util_make_unique<goal_filterst>();
116 #endif // CPROVER_GOTO_INSTRUMENT_COVER_H
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
cover_configt get_cover_config(const optionst &, const symbol_tablet &, message_handlert &)
Build data structures controlling coverage from command-line options.
std::unique_ptr< goal_filterst > goal_filters
void parse_cover_options(const cmdlinet &, optionst &)
Parses coverage-related command line options.
bool cover_failed_assertions
cover_instrumenterst cover_instrumenters
static instructiont make_assertion(const exprt &g, const source_locationt &l=source_locationt::nil())
void instrument_cover_goals(const symbol_tablet &, const cover_configt &, goto_functionst &, coverage_criteriont, message_handlert &message_handler)
bool traces_must_terminate
cover_instrumenter_baset::assertion_factoryt make_assertion
std::function< goto_programt::instructiont(const exprt &, const source_locationt &)> assertion_factoryt
The type of function used to make goto_program assertions.
A collection of goto functions.
function_filterst function_filters
A generic container class for the GOTO intermediate representation of one function.
A collection of function filters to be applied in conjunction.
Interface providing access to a single function in a GOTO model, plus its associated symbol table.
A collection of instrumenters to be run.