CBMC
|
#include <cover_basic_blocks.h>
Public Member Functions | |
cover_basic_blocks_javat (const goto_programt &_goto_program) | |
std::size_t | block_of (goto_programt::const_targett t) const override |
std::optional< goto_programt::const_targett > | instruction_of (std::size_t block_number) const override |
const source_locationt & | source_location_of (std::size_t block_number) const override |
const source_linest & | source_lines_of (std::size_t block_number) const override |
void | output (std::ostream &out) const override |
Outputs the list of blocks. More... | |
Public Member Functions inherited from cover_blocks_baset | |
virtual | ~cover_blocks_baset ()=default |
virtual void | report_block_anomalies (const irep_idt &function_id, const goto_programt &goto_program, message_handlert &message_handler) |
Output warnings about ignored blocks. More... | |
Private Attributes | |
std::vector< goto_programt::const_targett > | block_infos |
std::vector< source_locationt > | block_locations |
std::unordered_map< irep_idt, std::size_t > | index_to_block |
std::vector< source_linest > | block_source_lines |
Definition at line 141 of file cover_basic_blocks.h.
|
explicit |
Definition at line 187 of file cover_basic_blocks.cpp.
|
overridevirtual |
t | a goto instruction |
Implements cover_blocks_baset.
Definition at line 209 of file cover_basic_blocks.cpp.
|
overridevirtual |
block_number | a block number |
Implements cover_blocks_baset.
Definition at line 218 of file cover_basic_blocks.cpp.
|
overridevirtual |
Outputs the list of blocks.
Implements cover_blocks_baset.
Definition at line 238 of file cover_basic_blocks.cpp.
|
overridevirtual |
block_number | a block number |
Implements cover_blocks_baset.
Definition at line 232 of file cover_basic_blocks.cpp.
|
overridevirtual |
block_number | a block number |
Implements cover_blocks_baset.
Definition at line 225 of file cover_basic_blocks.cpp.
|
private |
Definition at line 145 of file cover_basic_blocks.h.
|
private |
Definition at line 147 of file cover_basic_blocks.h.
|
private |
Definition at line 151 of file cover_basic_blocks.h.
|
private |
Definition at line 149 of file cover_basic_blocks.h.