Skip to content

Commit

Permalink
fuzz: add SplitString fuzz target
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke authored and theStack committed Apr 11, 2022
1 parent 4fad7e4 commit a62e844
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/fuzz/string.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit a62e844

Please sign in to comment.