Skip to content

Commit aa9696d

Browse files
Split cover.cpp into separate files
We have created a base class called cover_utils, which contains all attributes and methods used by all coverage analysis (e.g., location, branch, condition, etc). We have then inhereted instrument_cover_goalst and instrument_mcdc_goalst from that base class.
1 parent 4847351 commit aa9696d

File tree

9 files changed

+1552
-1385
lines changed

9 files changed

+1552
-1385
lines changed

src/cbmc/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ OBJ += ../ansi-c/ansi-c$(LIBEXT) \
2222
../goto-instrument/full_slicer$(OBJEXT) \
2323
../goto-instrument/nondet_static$(OBJEXT) \
2424
../goto-instrument/cover$(OBJEXT) \
25+
../goto-instrument/cover_utils$(OBJEXT) \
26+
../goto-instrument/cover_mcdc$(OBJEXT) \
2527
../analyses/analyses$(LIBEXT) \
2628
../langapi/langapi$(LIBEXT) \
2729
../xmllang/xmllang$(LIBEXT) \

src/goto-instrument/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ SRC = goto_instrument_parse_options.cpp rw_set.cpp \
2323
wmm/event_graph.cpp wmm/pair_collection.cpp \
2424
goto_instrument_main.cpp horn_encoding.cpp \
2525
thread_instrumentation.cpp skip_loops.cpp loop_utils.cpp \
26-
code_contracts.cpp cover.cpp
26+
code_contracts.cpp cover_utils.cpp cover_mcdc.cpp cover.cpp
2727

2828
OBJ += ../ansi-c/ansi-c$(LIBEXT) \
2929
../cpp/cpp$(LIBEXT) \

0 commit comments

Comments
 (0)