|
CBMC
|
Coverage Instrumentation. More...
Include dependency graph for cover.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | cover_configt |
Macros | |
| #define | OPT_COVER |
| #define | HELP_COVER |
Enumerations | |
| enum class | coverage_criteriont { ASSUME , LOCATION , BRANCH , DECISION , CONDITION , PATH , MCDC , ASSERTION , COVER } |
Coverage Instrumentation.
Definition in file cover.h.
| #define HELP_COVER |
| #define OPT_COVER |
|
strong |
| cover_configt get_cover_config | ( | const optionst & | options, |
| const irep_idt & | main_function_id, | ||
| const symbol_tablet & | symbol_table, | ||
| message_handlert & | message_handler | ||
| ) |
Build data structures controlling coverage from command-line options.
Include options that depend on the main function specified by the user.
| options | command-line options |
| main_function_id | symbol of the user-specified main program function |
| symbol_table | global symbol table |
| message_handler | used to log incorrect option specifications |
| cover_configt get_cover_config | ( | const optionst & | options, |
| const symbol_tablet & | symbol_table, | ||
| message_handlert & | message_handler | ||
| ) |
Build data structures controlling coverage from command-line options.
Do not include the options that depend on the main function specified by the user.
| options | command-line options |
| symbol_table | global symbol table |
| message_handler | used to log incorrect option specifications |
| bool instrument_cover_goals | ( | const cover_configt & | cover_config, |
| const symbol_tablet & | symbol_table, | ||
| goto_functionst & | goto_functions, | ||
| message_handlert & | message_handler | ||
| ) |
| void instrument_cover_goals | ( | const cover_configt & | cover_config, |
| goto_model_functiont & | function, | ||
| message_handlert & | message_handler | ||
| ) |
| bool instrument_cover_goals | ( | const cover_configt & | cover_config, |
| goto_modelt & | goto_model, | ||
| message_handlert & | message_handler | ||
| ) |
| void instrument_cover_goals | ( | const symbol_tablet & | , |
| const cover_configt & | , | ||
| goto_functionst & | , | ||
| coverage_criteriont | , | ||
| message_handlert & | message_handler | ||
| ) |
| void instrument_cover_goals | ( | const symbol_tablet & | , |
| const cover_configt & | , | ||
| goto_programt & | , | ||
| coverage_criteriont | , | ||
| message_handlert & | message_handler | ||
| ) |