| 4 | using namespace jsoncons; |
| 5 | |
| 6 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, std::size_t size) |
| 7 | { |
| 8 | std::string input(reinterpret_cast<const char*>(data), size); |
| 9 | try { |
| 10 | if (size < 5000) // Tests show that it will compute for very large size, but size 316737 taxes Google fuzz patience |
| 11 | { |
| 12 | bigint a("56654250564056135415631554531554513813"); |
| 13 | bigint b(input); |
| 14 | bigint c = a % b; |
| 15 | bigint d = b % a; |
| 16 | } |
| 17 | } |
| 18 | catch (const std::runtime_error&) {} |
| 19 | |
| 20 | return 0; |
| 21 | } |
nothing calls this directly
no outgoing calls
no test coverage detected