aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@gmail.com>2024-07-23 00:39:02 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-07-23 07:55:06 +0000
commit1ede261d340d1b94872fcd490338915478483003 (patch)
treef1e4864cf14e1db5945ed16165983858557d7f1b /executor
parent708c10c4c13e9c045b11491f72d92ff75f853d00 (diff)
executor: increase kExtraCoverSize to 1024k
Running the vusb_ath9k runtest (with [1] and [2] applied) produces ~100k of extra coverage, which is somewhat close to the current 256k limit. A more complicated program might produce more extra coverage and overflow the coverage buffer. Increase kExtraCoverSize to 1024k. As the extra coverage buffer is maintained per-executor and not per-thread, the total increase of the coverage mapping is ~9%, which is not too bad. [1] https://lore.kernel.org/all/eaf54b8634970b73552dcd38bf9be6ef55238c10.1718092070.git.dvyukov@google.com/ [2] https://lore.kernel.org/all/20240722223726.194658-1-andrey.konovalov@linux.dev/T/#u
Diffstat (limited to 'executor')
-rw-r--r--executor/common_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index 38951d785..193afcdda 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -9,7 +9,7 @@
#include <unistd.h>
#if SYZ_EXECUTOR
-const int kExtraCoverSize = 256 << 10;
+const int kExtraCoverSize = 1024 << 10;
struct cover_t;
static void cover_reset(cover_t* cov);
#endif