restructrue code of funcnode.cc, and planning for adding back edges in predicate...
[c11tester.git] / classlist.h
index 09aa09d134e19c1e4160896fde3a935424fc7ab6..855f05fde23af696305e9cf28f271aa03c533b00 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef CLASSLIST_H
 #define CLASSLIST_H
+#include <inttypes.h>
 #include "stl-model.h"
+#include "hashset.h"
 
 class ClockVector;
 class CycleGraph;
@@ -8,14 +10,22 @@ class CycleNode;
 class ModelAction;
 class ModelChecker;
 class ModelExecution;
-class Node;
-class NodeStack;
+class ModelHistory;
 class Scheduler;
 class Thread;
 class TraceAnalysis;
 class Fuzzer;
+class FuncNode;
+class FuncInst;
+class Predicate;
 
 struct model_snapshot_members;
 struct bug_message;
 typedef SnapList<ModelAction *> action_list_t;
+typedef SnapList<uint32_t> func_id_list_t;
+typedef SnapList<FuncInst *> func_inst_list_t;
+typedef HSIterator<Predicate *, uintptr_t, 0, model_malloc, model_calloc, model_free> PredSetIter;
+typedef HashSet<Predicate *, uintptr_t, 0, model_malloc, model_calloc, model_free> PredSet;
+
+extern volatile int modellock;
 #endif