mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-24 11:21:19 +02:00
fuzz: add SplitString
fuzz target
This commit is contained in:
committed by
Sebastian Falbesoner
parent
4fad7e46d9
commit
a62e84438d
@@ -224,6 +224,7 @@ FUZZ_TARGET(string)
|
|||||||
int64_t amount_out;
|
int64_t amount_out;
|
||||||
(void)ParseFixedPoint(random_string_1, fuzzed_data_provider.ConsumeIntegralInRange<int>(0, 1024), &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);
|
(void)Untranslated(random_string_1);
|
||||||
const bilingual_str bs1{random_string_1, random_string_2};
|
const bilingual_str bs1{random_string_1, random_string_2};
|
||||||
|
Reference in New Issue
Block a user