aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-09-07 16:37:17 +0200
committerDmitry Vyukov <dvyukov@google.com>2022-11-01 10:23:09 -0700
commit75eae5a7ef67781b73f2b9038416542c7ea0612c (patch)
tree6f4face7bb7d0343f741e759af4004129e198b92 /executor/common.h
parentedac4fd1041732ed5d430221343f99db42a99319 (diff)
executor: test extension points
Test that extension points keep stable interface and work.
Diffstat (limited to 'executor/common.h')
-rw-r--r--executor/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/executor/common.h b/executor/common.h
index f4201ca45..2ee0d5bd2 100644
--- a/executor/common.h
+++ b/executor/common.h
@@ -507,7 +507,11 @@ static uint16 csum_inet_digest(struct csum_inet* csum)
#error "unknown OS"
#endif
+#if SYZ_TEST_COMMON_EXT_EXAMPLE
+#include "common_ext_example.h"
+#else
#include "common_ext.h"
+#endif
#if SYZ_EXECUTOR || __NR_syz_execute_func
// syz_execute_func(text ptr[in, text[taget]])