From 5f02070655b3c1f2ab50a82fd5f466aaeb7af44a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 10 Jun 2024 11:06:30 +0200 Subject: executor: add end-to-end coverage/signal/comparisons test --- executor/common_test.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'executor/common_test.h') 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 -- cgit mrf-deployment