From 8ad386576f0b6462d19a60294a6edb338f105593 Mon Sep 17 00:00:00 2001 From: Tri Vo Date: Thu, 24 Jun 2021 22:21:41 -0700 Subject: [PATCH] trusty: Increase maximum number of coverage counters Confirmation UI TA has 52585 counters. Bug: 171750250 Test: trusty_confirmationui_tipc_fuzzer Change-Id: Iecb7c88c41c67ce4ab22c56b9e34ad5370b4018d --- trusty/fuzz/counters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trusty/fuzz/counters.cpp b/trusty/fuzz/counters.cpp index c28fd05a5..65a3ba6f4 100644 --- a/trusty/fuzz/counters.cpp +++ b/trusty/fuzz/counters.cpp @@ -33,7 +33,7 @@ using android::base::Result; * We don't know how many counters the coverage record will contain. So, eyeball * the size of this section. */ -static const size_t kMaxNumCounters = 0x8000; +static const size_t kMaxNumCounters = 0x10000; __attribute__((section("__libfuzzer_extra_counters"))) volatile uint8_t counters[kMaxNumCounters]; namespace android {