Skip to content

Commit 1caed78

Browse files
author
kroening
committed
include assertion
git-svn-id: svn+ssh://svn.cprover.org/srv/svn/cbmc/trunk@5163 6afb6bc1-c8e4-404c-8f48-9ae832c5b171
1 parent 686eebe commit 1caed78

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cbmc/all_properties.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ void bmc_all_propertiest::goal_covered(const cover_goalst::goalt &)
125125
if(solver.l_get(cond).is_false())
126126
{
127127
g.failed=true;
128-
build_goto_trace(bmc.equation, *c_it, solver, bmc.ns, g.goto_trace);
128+
symex_target_equationt::SSA_stepst::iterator next=*c_it;
129+
next++; // include the assertion
130+
build_goto_trace(bmc.equation, next, solver, bmc.ns, g.goto_trace);
129131
break;
130132
}
131133
}

0 commit comments

Comments
 (0)