MCPcopy Create free account
hub / github.com/catchorg/Catch2 / LLVMFuzzerTestOneInput

Function LLVMFuzzerTestOneInput

fuzzing/fuzz_TestSpecParser.cpp:14–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12#include <cstdint>
13
14extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
15
16 Catch::TagAliasRegistry tar;
17 Catch::TestSpecParser tsp(tar);
18
19 std::string buf(Data,Data+Size);
20 tsp.parse(buf);
21
22 return 0;
23}

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected