aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_ext_example.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common_ext_example.h')
-rw-r--r--executor/common_ext_example.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/executor/common_ext_example.h b/executor/common_ext_example.h
new file mode 100644
index 000000000..0299b6d4f
--- /dev/null
+++ b/executor/common_ext_example.h
@@ -0,0 +1,10 @@
+// Copyright 2022 syzkaller project authors. All rights reserved.
+// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+// An example implementation of common_ext.h used for testing.
+
+#define SYZ_HAVE_SETUP_EXT 1
+static void setup_ext()
+{
+ debug("example setup_ext called\n");
+}