diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-09-13 13:52:07 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2022-04-11 22:19:50 +0200 |
commit | a62e84438d27ee6213219fe2c233e58814fcbb5d (patch) | |
tree | d77a295313a68ea2637e032bc5362fb0b1ec5067 | |
parent | 4fad7e46d94a0fdee4ff917e81360d7ae6bd8110 (diff) |
fuzz: add `SplitString` fuzz target
-rw-r--r-- | src/test/fuzz/string.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<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}; |