| 1 | //License: Boost 1.0 |
| 2 | //By Paul Dreik 2020 |
| 3 | |
| 4 | #include <catch2/internal/catch_xmlwriter.hpp> |
| 5 | |
| 6 | #include "NullOStream.h" |
| 7 | |
| 8 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { |
| 9 | |
| 10 | std::string buf(Data,Data+Size); |
| 11 | NullOStream nul; |
| 12 | Catch::XmlEncode encode(buf); |
| 13 | encode.encodeTo(nul); |
| 14 | return 0; |
| 15 | } |
| 16 |