Skip to content

Remove obsolete cbmc/bmc_cover [blocks: #4217] #4216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 4, 2019
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
1 change: 0 additions & 1 deletion jbmc/src/jbmc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ OBJ += ../$(CPROVER_DIR)/src/ansi-c/ansi-c$(LIBEXT) \
../$(CPROVER_DIR)/src/json/json$(LIBEXT) \
../$(CPROVER_DIR)/src/cbmc/all_properties$(OBJEXT) \
../$(CPROVER_DIR)/src/cbmc/bmc$(OBJEXT) \
../$(CPROVER_DIR)/src/cbmc/bmc_cover$(OBJEXT) \
# Empty last line

INCLUDES= -I .. -I ../$(CPROVER_DIR)/src
Expand Down
1 change: 0 additions & 1 deletion src/cbmc/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
SRC = all_properties.cpp \
bmc.cpp \
bmc_cover.cpp \
c_test_input_generator.cpp \
cbmc_languages.cpp \
cbmc_main.cpp \
Expand Down
6 changes: 0 additions & 6 deletions src/cbmc/bmc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,6 @@ safety_checkert::resultt bmct::execute(
return safety_checkert::resultt::SAFE; // to indicate non-error
}

if(!options.get_list_option("cover").empty())
{
return cover(goto_functions)?
safety_checkert::resultt::ERROR:safety_checkert::resultt::SAFE;
}

// any properties to check at all?
if(
!options.get_bool_option("program-only") &&
Expand Down
5 changes: 0 additions & 5 deletions src/cbmc/bmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,7 @@ class bmct:public safety_checkert
virtual resultt all_properties(const goto_functionst &goto_functions);
virtual resultt stop_on_fail();

bool cover(const goto_functionst &goto_functions);

friend class bmc_all_propertiest;
friend class bmc_covert;
template <template <class goalt> class covert>
friend class bmc_goal_covert;

private:
/// \brief Class-specific symbolic execution
Expand Down
Loading