| 38 | } |
| 39 | |
| 40 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { |
| 41 | |
| 42 | Catch::TextFlow::Columns columns; |
| 43 | |
| 44 | // break the input on separator |
| 45 | split((const char*)Data,Size,[&](std::string_view word) { |
| 46 | columns+=Catch::TextFlow::Column(std::string(word)); |
| 47 | }); |
| 48 | |
| 49 | NullOStream nul; |
| 50 | nul << columns; |
| 51 | |
| 52 | return 0; |
| 53 | } |
| 54 |