Skip to content

Commit

Permalink
smtbmc: Support skipping steps in cover mode
Browse files Browse the repository at this point in the history
  • Loading branch information
georgerennie committed Jul 3, 2024
1 parent a739e21 commit 40b387a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backends/smt2/smtbmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1866,6 +1866,11 @@ def report_tracked_assumptions(msg):
smt_assert_antecedent("(|%s_t| s%d s%d)" % (topmod, step-1, step))
smt_assert_antecedent("(not (|%s_is| s%d))" % (topmod, step))

if step < skip_steps:
print_msg("Skipping step %d.." % (step))
step += 1
continue

while "1" in cover_mask:
print_msg("Checking cover reachability in step %d.." % (step))
smt_push()
Expand Down

0 comments on commit 40b387a

Please sign in to comment.