diff options
Diffstat (limited to 'executor/common_ext_example.h')
| -rw-r--r-- | executor/common_ext_example.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/executor/common_ext_example.h b/executor/common_ext_example.h index 0299b6d4f..0cabcb75c 100644 --- a/executor/common_ext_example.h +++ b/executor/common_ext_example.h @@ -8,3 +8,10 @@ static void setup_ext() { debug("example setup_ext called\n"); } + +#define SYZ_HAVE_SETUP_EXT_TEST 1 +static void setup_ext_test() +{ + // See TestCommonExt. + *(uint64*)(SYZ_DATA_OFFSET + 0x1234) = 0xbadc0ffee; +} |
