| 11 | #include <vector> |
| 12 | |
| 13 | FUZZ_TARGET(parse_hd_keypath) |
| 14 | { |
| 15 | const std::string keypath_str(buffer.begin(), buffer.end()); |
| 16 | std::vector<uint32_t> keypath; |
| 17 | (void)ParseHDKeypath(keypath_str, keypath); |
| 18 | |
| 19 | FuzzedDataProvider fuzzed_data_provider(buffer.data(), buffer.size()); |
| 20 | const std::vector<uint32_t> random_keypath = ConsumeRandomLengthIntegralVector<uint32_t>(fuzzed_data_provider); |
| 21 | (void)FormatHDKeypath(random_keypath); |
| 22 | (void)WriteHDKeypath(random_keypath); |
| 23 | } |
nothing calls this directly
no test coverage detected