From d6b461d9bcc04628b6e782d80e373469bccef743 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 27 Apr 2022 13:15:05 +0200 Subject: executor: allow external extensions of the setup phase Allow common_ext.h to provide setup_ext() function that is called during VM setup. --- executor/common_ext.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'executor/common_ext.h') diff --git a/executor/common_ext.h b/executor/common_ext.h index 4f6e7491a..6485852ef 100644 --- a/executor/common_ext.h +++ b/executor/common_ext.h @@ -4,3 +4,6 @@ // This file is included into executor and C reproducers and can be used to add // non-mainline pseudo-syscalls w/o changing any other files. // These syscalls should start with syz_ext_. + +// This file can also define SYZ_HAVE_SETUP_EXT to 1 and provide +// void setup_ext() function that will be called during VM setup. -- cgit mrf-deployment