From 75eae5a7ef67781b73f2b9038416542c7ea0612c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 7 Sep 2022 16:37:17 +0200 Subject: executor: test extension points Test that extension points keep stable interface and work. --- executor/common_ext_example.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 executor/common_ext_example.h (limited to 'executor/common_ext_example.h') 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"); +} -- cgit mrf-deployment