mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
test: add ParseUInt8() unit and fuzz test coverage
This commit is contained in:
@@ -18,6 +18,9 @@ FUZZ_TARGET(parse_numbers)
|
||||
double d;
|
||||
(void)ParseDouble(random_string, &d);
|
||||
|
||||
uint8_t u8;
|
||||
(void)ParseUInt8(random_string, &u8);
|
||||
|
||||
int32_t i32;
|
||||
(void)ParseInt32(random_string, &i32);
|
||||
(void)atoi(random_string);
|
||||
|
||||
Reference in New Issue
Block a user