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