remove unused member functions
[c11tester.git] / newfuzzer.h
1 #ifndef __NEWFUZZER_H__
2 #define __NEWFUZZER_H__
3
4 #include "fuzzer.h"
5 #include "classlist.h"
6 #include "mymemory.h"
7 #include "stl-model.h"
8
9 class NewFuzzer : public Fuzzer {
10 public:
11         NewFuzzer();
12         int selectWrite(ModelAction *read, SnapVector<ModelAction *>* rf_set);
13         void selectBranch(int thread_id, Predicate * curr_pred, FuncInst * read_inst);
14         Predicate * get_selected_child_branch(thread_id_t tid);
15
16         Thread * selectThread(int * threadlist, int numthreads);
17         Thread * selectNotify(action_list_t * waiters);
18         bool shouldSleep(const ModelAction *sleep);
19         bool shouldWake(const ModelAction *sleep);
20
21         void register_engine(ModelHistory * history, ModelExecution * execution);
22
23         MEMALLOC
24 private:
25         ModelHistory * history;
26         ModelExecution * execution;
27
28         SnapVector<ModelAction *> thrd_last_read_act;
29         SnapVector<Predicate *> thrd_curr_pred;
30         SnapVector<Predicate *> thrd_selected_child_branch;
31 };
32
33 #endif /* end of __NEWFUZZER_H__ */