Turns out that calling Predicate::evaluate in FuncNode::follow_branch and NewFuzzer...
[c11tester.git] / context.h
1 /**
2  * @file context.h
3  * @brief ucontext header, since Mac OSX swapcontext() is broken
4  */
5
6 #ifndef __CONTEXT_H__
7 #define __CONTEXT_H__
8
9 #include <ucontext.h>
10 #include <stdio.h>
11
12 #ifdef MAC
13
14 int model_swapcontext(ucontext_t *oucp, ucontext_t *ucp);
15
16 #else   /* !MAC */
17
18 static inline int model_swapcontext(ucontext_t *oucp, ucontext_t *ucp)
19 {
20         return swapcontext(oucp, ucp);
21 }
22
23 #endif  /* !MAC */
24
25 #endif  /* __CONTEXT_H__ */