| 10 | using namespace jsoncons; |
| 11 | |
| 12 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, std::size_t size) |
| 13 | { |
| 14 | std::string input(reinterpret_cast<const char*>(data), size); |
| 15 | std::istringstream is(input); |
| 16 | try { |
| 17 | json j2 = ubjson::decode_ubjson<json>(is); |
| 18 | } |
| 19 | catch(const jsoncons::ser_error&) {} |
| 20 | |
| 21 | return 0; |
| 22 | } |
| 23 |
nothing calls this directly
no outgoing calls
no test coverage detected