1 #ifndef __NEWFUZZER_H__
2 #define __NEWFUZZER_H__
9 class NewFuzzer : public Fuzzer {
12 int selectWrite(ModelAction *read, SnapVector<ModelAction *>* rf_set);
13 void selectBranch(int thread_id, Predicate * curr_pred, FuncInst * read_inst);
15 Thread * selectThread(int * threadlist, int numthreads);
16 Thread * selectNotify(action_list_t * waiters);
17 bool shouldSleep(const ModelAction *sleep);
18 bool shouldWake(const ModelAction *sleep);
20 void register_engine(ModelHistory * history, ModelExecution * execution);
24 ModelHistory * history;
25 ModelExecution * execution;
27 SnapVector<ModelAction *> thrd_last_read_act;
28 SnapVector<Predicate *> thrd_curr_pred;
29 SnapVector<Predicate *> thrd_selected_child_branch;
32 #endif /* end of __NEWFUZZER_H__ */