diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-06-10 11:06:30 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-06-11 05:18:24 +0000 |
| commit | 5f02070655b3c1f2ab50a82fd5f466aaeb7af44a (patch) | |
| tree | 6cd193271272ef3357a2be86af98d1edf7889b73 /executor/common_test.h | |
| parent | b7d9eb04f4c510213e29f46db7eab4ec5c72a4ae (diff) | |
executor: add end-to-end coverage/signal/comparisons test
Diffstat (limited to 'executor/common_test.h')
| -rw-r--r-- | executor/common_test.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/executor/common_test.h b/executor/common_test.h index 971108df8..67585be9a 100644 --- a/executor/common_test.h +++ b/executor/common_test.h @@ -153,3 +153,14 @@ static long syz_test_fuzzer1(volatile long a, volatile long b, volatile long c) } #endif + +#if SYZ_EXECUTOR || __NR_syz_inject_cover +static long syz_inject_cover(volatile long a, volatile long b, volatile long c) +#if SYZ_EXECUTOR + ; // defined in executor_test.h +#else +{ + return 0; +} +#endif +#endif |
