Line | Count | Source |
1 | #include <ArduinoJson.h> | |
2 | ||
3 | 779 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { |
4 | // Make a copy to ensure the input is null-terminated | |
5 | 779 | std::string str(reinterpret_cast<const char*>(data), size); |
6 | ||
7 | 779 | ArduinoJson::detail::parseNumber(str.c_str()); |
8 | ||
9 | 779 | return 0; |
10 | 779 | } |