aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_ext_example.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_ext_example.h
parentedac4fd1041732ed5d430221343f99db42a99319 (diff)
executor: test extension points
Test that extension points keep stable interface and work.
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");
+}