blob: 0cabcb75c3e91ba2d2b66bd84f8f5356786e09e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// 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");
}
#define SYZ_HAVE_SETUP_EXT_TEST 1
static void setup_ext_test()
{
// See TestCommonExt.
*(uint64*)(SYZ_DATA_OFFSET + 0x1234) = 0xbadc0ffee;
}
|