Skip to content

Commit 4804ee0

Browse files
Factor our show_vcc
1 parent b71fa4d commit 4804ee0

File tree

11 files changed

+230
-190
lines changed

11 files changed

+230
-190
lines changed

jbmc/src/jbmc/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ OBJ += ../$(CPROVER_DIR)/src/ansi-c/ansi-c$(LIBEXT) \
4747
../$(CPROVER_DIR)/src/cbmc/cbmc_solvers$(OBJEXT) \
4848
../$(CPROVER_DIR)/src/cbmc/counterexample_beautification$(OBJEXT) \
4949
../$(CPROVER_DIR)/src/cbmc/fault_localization$(OBJEXT) \
50-
../$(CPROVER_DIR)/src/cbmc/show_vcc$(OBJEXT) \
5150
../$(CPROVER_DIR)/src/cbmc/symex_bmc$(OBJEXT) \
5251
../$(CPROVER_DIR)/src/cbmc/symex_coverage$(OBJEXT) \
5352
# Empty last line

jbmc/unit/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ BMC_DEPS =$(CPROVER_DIR)/src/cbmc/all_properties$(OBJEXT) \
6767
$(CPROVER_DIR)/src/cbmc/cbmc_solvers$(OBJEXT) \
6868
$(CPROVER_DIR)/src/cbmc/counterexample_beautification$(OBJEXT) \
6969
$(CPROVER_DIR)/src/cbmc/fault_localization$(OBJEXT) \
70-
$(CPROVER_DIR)/src/cbmc/show_vcc$(OBJEXT) \
7170
$(CPROVER_DIR)/src/cbmc/symex_bmc$(OBJEXT) \
7271
$(CPROVER_DIR)/src/cbmc/symex_coverage$(OBJEXT) \
7372
$(CPROVER_DIR)/src/cbmc/xml_interface$(OBJEXT) \

src/cbmc/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ SRC = all_properties.cpp \
99
cbmc_solvers.cpp \
1010
counterexample_beautification.cpp \
1111
fault_localization.cpp \
12-
show_vcc.cpp \
1312
symex_bmc.cpp \
1413
symex_coverage.cpp \
1514
xml_interface.cpp \

src/cbmc/bmc.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Author: Daniel Kroening, kroening@kroening.com
1818

1919
#include <langapi/language_util.h>
2020

21+
#include <goto-checker/show_vcc.h>
22+
2123
#include <goto-programs/graphml_witness.h>
2224
#include <goto-programs/json_goto_trace.h>
2325
#include <goto-programs/xml_goto_trace.h>
@@ -376,7 +378,7 @@ safety_checkert::resultt bmct::execute(
376378

377379
if(options.get_bool_option("show-vcc"))
378380
{
379-
show_vcc();
381+
show_vcc(options, get_message_handler(), ui, ns, equation);
380382
return safety_checkert::resultt::SAFE; // to indicate non-error
381383
}
382384

@@ -502,7 +504,7 @@ void bmct::show()
502504
{
503505
if(options.get_bool_option("show-vcc"))
504506
{
505-
show_vcc();
507+
show_vcc(options, get_message_handler(), ui, ns, equation);
506508
}
507509

508510
if(options.get_bool_option("program-only"))

src/cbmc/bmc.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,6 @@ class bmct:public safety_checkert
199199

200200
virtual void freeze_program_variables();
201201

202-
virtual void show_vcc();
203-
virtual void show_vcc_plain(std::ostream &out);
204-
virtual void show_vcc_json(std::ostream &out);
205-
206202
trace_optionst trace_options()
207203
{
208204
return trace_optionst(options);

src/cbmc/show_vcc.cpp

Lines changed: 0 additions & 180 deletions
This file was deleted.

src/goto-checker/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
SRC = property_checker.cpp \
22
safety_checker.cpp \
3+
show_vcc.cpp \
34
# Empty last line
45

56
INCLUDES= -I ..
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
goto-checker
22
goto-programs
33
goto-symex
4+
langapi # will go away
45
solvers
56
util

0 commit comments

Comments
 (0)