Skip to content

Commit 585ea91

Browse files
Remove obsolete cbmc/fault_localization
The goto-checker infrastructure is used now.
1 parent 529f33e commit 585ea91

File tree

7 files changed

+0
-517
lines changed

7 files changed

+0
-517
lines changed

jbmc/src/jbmc/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ OBJ += ../$(CPROVER_DIR)/src/ansi-c/ansi-c$(LIBEXT) \
4242
../$(CPROVER_DIR)/src/cbmc/all_properties$(OBJEXT) \
4343
../$(CPROVER_DIR)/src/cbmc/bmc$(OBJEXT) \
4444
../$(CPROVER_DIR)/src/cbmc/bmc_cover$(OBJEXT) \
45-
../$(CPROVER_DIR)/src/cbmc/fault_localization$(OBJEXT) \
4645
# Empty last line
4746

4847
INCLUDES= -I .. -I ../$(CPROVER_DIR)/src

src/cbmc/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ SRC = all_properties.cpp \
55
cbmc_languages.cpp \
66
cbmc_main.cpp \
77
cbmc_parse_options.cpp \
8-
fault_localization.cpp \
98
xml_interface.cpp \
109
# Empty last line
1110

src/cbmc/bmc.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ Author: Daniel Kroening, [email protected]
2929
#include <goto-checker/report_util.h>
3030
#include <goto-checker/solver_factory.h>
3131

32-
#include "fault_localization.h"
33-
3432
/// Hook used by CEGIS to selectively freeze variables
3533
/// in the SAT solver after the SSA formula is added to the solver.
3634
/// Freezing variables is necessary to make use of incremental
@@ -139,13 +137,6 @@ safety_checkert::resultt bmct::execute(
139137
safety_checkert::resultt::ERROR:safety_checkert::resultt::SAFE;
140138
}
141139

142-
if(options.get_option("localize-faults")!="")
143-
{
144-
fault_localizationt fault_localization(
145-
goto_functions, *this, options);
146-
return fault_localization();
147-
}
148-
149140
// any properties to check at all?
150141
if(
151142
!options.get_bool_option("program-only") &&

src/cbmc/bmc.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ class bmct:public safety_checkert
197197
friend class bmc_covert;
198198
template <template <class goalt> class covert>
199199
friend class bmc_goal_covert;
200-
friend class fault_localizationt;
201200

202201
private:
203202
/// \brief Class-specific symbolic execution

0 commit comments

Comments
 (0)