/* global "model" object */
#include "model.h"
#include "snapshot.h"
+#include "snapshot-interface.h"
/*
* Return 1 if found next thread, 0 otherwise
void real_main() {
thrd_t user_thread;
ucontext_t main_context;
+
+ //Create the singleton snapshotStack object
+ snapshotObject = new snapshotStack();
model = new ModelChecker();
main_args=args;
/* Let's jump in quickly and start running stuff */
- initSnapShotLibrary(10000 /*int numbackingpages*/, 1024 /*unsigned int numsnapshots*/, 1024 /*unsigned int nummemoryregions*/ , &real_main /*MyFuncPtr entryPoint*/);
+ initSnapShotLibrary(10000 /*int numbackingpages*/, 1024 /*unsigned int numsnapshots*/, 1024 /*unsigned int nummemoryregions*/ , 1000 /*int numheappages*/, &real_main /*MyFuncPtr entryPoint*/);
}