fuzz: add SplitString fuzz target

This commit is contained in:
MarcoFalke 2021-09-13 13:52:07 +02:00 committed by Sebastian Falbesoner
parent 4fad7e46d9
commit a62e84438d

View file

@ -224,6 +224,7 @@ FUZZ_TARGET(string)
int64_t amount_out;
(void)ParseFixedPoint(random_string_1, fuzzed_data_provider.ConsumeIntegralInRange<int>(0, 1024), &amount_out);
}
(void)SplitString(random_string_1, fuzzed_data_provider.ConsumeIntegral<char>());
{
(void)Untranslated(random_string_1);
const bilingual_str bs1{random_string_1, random_string_2};