From a62e84438d27ee6213219fe2c233e58814fcbb5d Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 13 Sep 2021 13:52:07 +0200 Subject: [PATCH] fuzz: add `SplitString` fuzz target --- src/test/fuzz/string.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/fuzz/string.cpp b/src/test/fuzz/string.cpp index ca57af25c4..b4876d427f 100644 --- a/src/test/fuzz/string.cpp +++ b/src/test/fuzz/string.cpp @@ -224,6 +224,7 @@ FUZZ_TARGET(string) int64_t amount_out; (void)ParseFixedPoint(random_string_1, fuzzed_data_provider.ConsumeIntegralInRange(0, 1024), &amount_out); } + (void)SplitString(random_string_1, fuzzed_data_provider.ConsumeIntegral()); { (void)Untranslated(random_string_1); const bilingual_str bs1{random_string_1, random_string_2};