1 // Threaded test for a fuzzer. The fuzzer should not crash.
8 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
9 if (Size < 8) return 0;
13 for (size_t i = 0; i < Size / 2; i++)
14 Res += memcmp(Data, Data + Size / 2, 4);
17 std::thread T[] = {std::thread(C), std::thread(C), std::thread(C),
18 std::thread(C), std::thread(C), std::thread(C)};