6 #include "modeltypes.h"
23 class ConcretePredicate;
26 struct model_snapshot_members;
29 typedef SnapList<ModelAction *> action_list_t;
30 typedef SnapList<uint32_t> func_id_list_t;
31 typedef SnapList<FuncInst *> func_inst_list_t;
33 typedef HashSet<Predicate *, uintptr_t, 0, model_malloc, model_calloc, model_free> PredSet;
34 typedef HSIterator<Predicate *, uintptr_t, 0, model_malloc, model_calloc, model_free> PredSetIter;
36 typedef HashSet<uint64_t, uint64_t, 0, snapshot_malloc, snapshot_calloc, snapshot_free> value_set_t;
37 typedef HSIterator<uint64_t, uint64_t, 0, snapshot_malloc, snapshot_calloc, snapshot_free> value_set_iter;
38 typedef HashSet<void *, uintptr_t, 0, snapshot_malloc, snapshot_calloc, snapshot_free> loc_set_t;
39 typedef HSIterator<void *, uintptr_t, 0, snapshot_malloc, snapshot_calloc, snapshot_free> loc_set_iter;
40 typedef HashSet<thread_id_t, int, 0> thrd_id_set_t;
41 typedef HSIterator<thread_id_t, int, 0> thrd_id_set_iter;
43 extern volatile int modellock;