From f063dfd966f00f90fbae94d179f26cf36fea3f5b Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 22 Jul 2024 09:59:09 +0200 Subject: executor: fix writing of remote coverage We never reset remote coverage, so if there is one block, we will write it after every call and multiple times at the end. It can lead to "too many calls in output" and just writes quadratic amount of coverage/signal. Reset remote coverage after writing. --- sys/test/exec.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'sys') diff --git a/sys/test/exec.txt b/sys/test/exec.txt index fb895bd18..0faef9820 100644 --- a/sys/test/exec.txt +++ b/sys/test/exec.txt @@ -13,6 +13,7 @@ syz_compare_zlib(data ptr[in, array[int8]], size bytesize[data], zdata ptr[in, c # Copies the data into KCOV buffer verbatim. syz_inject_cover(ptr ptr[in, array[int8]], size bytesize[ptr]) +syz_inject_remote_cover(ptr ptr[in, array[int8]], size bytesize[ptr]) (prog_timeout[1000], remote_cover) compare_data [ align0 align0 -- cgit mrf-deployment