remove STL vector
[c11tester.git] / model.cc
index 65b597defb0b10294083f57a468b6886e7ae17b0..78729bd38ac4d9da05d25527450f6668f38be997 100644 (file)
--- a/model.cc
+++ b/model.cc
@@ -353,6 +353,8 @@ static void runChecker() {
 
 void ModelChecker::startChecker() {
        startExecution(get_system_context(), runChecker);
+       snapshot_stack_init();
+       snapshot_record(0);
 }
 
 bool ModelChecker::should_terminate_execution()
@@ -363,6 +365,8 @@ bool ModelChecker::should_terminate_execution()
        else if (execution->isfeasibleprefix() && execution->have_fatal_bug_reports()) {
                execution->set_assert();
                return true;
+       } else if (execution->isFinished()) {
+               return true;
        }
        return false;
 }