aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-09-13 13:52:07 +0200
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2022-04-11 22:19:50 +0200
commita62e84438d27ee6213219fe2c233e58814fcbb5d (patch)
treed77a295313a68ea2637e032bc5362fb0b1ec5067 /src/test/fuzz
parent4fad7e46d94a0fdee4ff917e81360d7ae6bd8110 (diff)
fuzz: add `SplitString` fuzz target
Diffstat (limited to 'src/test/fuzz')
-rw-r--r--src/test/fuzz/string.cpp1
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};