+#include "action.h"
#include "history.h"
#include "funcnode.h"
+#include "funcinst.h"
+#include "predicate.h"
#include "concretepredicate.h"
FuncNode::FuncNode(ModelHistory * history) :
#ifndef __FUNCNODE_H__
#define __FUNCNODE_H__
-#include "action.h"
-#include "funcinst.h"
-#include "hashtable.h"
#include "hashset.h"
-#include "predicate.h"
-#include "history.h"
+#include "classlist.h"
+#include "threads-model.h"
typedef ModelList<FuncInst *> func_inst_list_mt;
#include "history.h"
#include "action.h"
#include "funcnode.h"
+#include "funcinst.h"
#include "common.h"
#include "model.h"
/* Add edges between FuncNodes */
if (last_entered_func_id != 0) {
FuncNode * last_func_node = func_nodes[last_entered_func_id];
- add_edges_between(last_func_node, func_node);
+ last_func_node->add_out_edge(func_node);
}
}
}
}
-/* Add edges between FuncNodes */
-void ModelHistory::add_edges_between(FuncNode * prev_node, FuncNode * next_node)
-{
- prev_node->add_out_edge(next_node);
-}
-
void ModelHistory::dump_func_node_graph()
{
model_print("digraph func_node_graph {\n");
#include "stl-model.h"
#include "common.h"
+#include "classlist.h"
#include "hashtable.h"
-#include "hashset.h"
#include "threads-model.h"
class ModelHistory {
/* Keeps track of the last function entered by each thread */
SnapVector<uint32_t> thrd_last_entered_func;
- void add_edges_between(FuncNode * prev_node, FuncNode * next_node);
};
#endif /* __HISTORY_H__ */
#include "newfuzzer.h"
#include "threads-model.h"
-#include "model.h"
#include "action.h"
-#include "execution.h"
#include "history.h"
#include "funcnode.h"
-#include "schedule.h"
+#include "funcinst.h"
+#include "predicate.h"
#include "concretepredicate.h"
+#include "model.h"
+#include "schedule.h"
+#include "execution.h"
+
NewFuzzer::NewFuzzer() :
thrd_last_read_act(),
thrd_curr_pred(),
+#include "funcinst.h"
#include "predicate.h"
#include "concretepredicate.h"
#ifndef __PREDICATE_H__
#define __PREDICATE_H__
-#include "funcinst.h"
#include "hashset.h"
#include "predicatetypes.h"
#include "classlist.h"