aboutsummaryrefslogtreecommitdiffstats
path: root/sys/test
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-07-22 09:59:09 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-07-22 09:38:18 +0000
commitf063dfd966f00f90fbae94d179f26cf36fea3f5b (patch)
tree2e58f27f65a6f9d2dece091ddcef3a23d8cefbb0 /sys/test
parent7538bc297d62e223e4216db0e039be296aff4553 (diff)
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.
Diffstat (limited to 'sys/test')
-rw-r--r--sys/test/exec.txt1
1 files changed, 1 insertions, 0 deletions
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