Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/cbmc/bmc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,7 @@ safety_checkert::resultt bmct::execute(

if(!options.get_list_option("cover").empty())
{
const optionst::value_listt criteria=
options.get_list_option("cover");
return cover(goto_functions, criteria)?
return cover(goto_functions)?
safety_checkert::resultt::ERROR:safety_checkert::resultt::SAFE;
}

Expand Down
4 changes: 1 addition & 3 deletions src/cbmc/bmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,7 @@ class bmct:public safety_checkert
void slice();
void show();

bool cover(
const goto_functionst &goto_functions,
const optionst::value_listt &criteria);
bool cover(const goto_functionst &goto_functions);

friend class bmc_all_propertiest;
friend class bmc_covert;
Expand Down
4 changes: 1 addition & 3 deletions src/cbmc/bmc_cover.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,7 @@ bool bmc_covert::operator()()
}

/// Try to cover all goals
bool bmct::cover(
const goto_functionst &goto_functions,
const optionst::value_listt &criteria)
bool bmct::cover(const goto_functionst &goto_functions)
{
bmc_covert bmc_cover(goto_functions, *this);
bmc_cover.set_message_handler(get_message_handler());
Expand Down