datarace.o impatomic.o cmodelint.o \
snapshot.o malloc.o mymemory.o common.o mutex.o conditionvariable.o \
context.o execution.o libannotate.o plugins.o pthread.o futex.o fuzzer.o \
- sleeps.o history.o funcnode.o funcinst.o predicate.o printf.o
+ sleeps.o history.o funcnode.o funcinst.o predicate.o printf.o newfuzzer.o
CPPFLAGS += -Iinclude -I.
LDFLAGS := -ldl -lrt -rdynamic -lpthread
void FuncNode::add_to_val_loc_map(value_set_t * values, void * loc)
{
+ if (values == NULL)
+ return;
+
value_set_iter * it = values->iterator();
while (it->hasNext()) {
uint64_t val = it->next();
predicate_tree_position[thread_id] = NULL;
}
+Predicate * FuncNode::get_predicate_tree_position(thread_id_t tid)
+{
+ uint thread_id = id_to_int(tid);
+ return predicate_tree_position[thread_id];
+}
+
void FuncNode::print_predicate_tree()
{
model_print("digraph function_%s {\n", func_name);