Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / fuzzer / UninitializedStrlen.cpp
blob5a4e778df94bf4e88a2b41b5d6c911c7584862ea
1 #include <cstdint>
2 #include <cstring>
4 volatile size_t Sink;
6 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
7 if (Size < 4) return 0;
8 if (Data[0] == 'F' && Data[1] == 'U' && Data[2] == 'Z' && Data[3] == 'Z') {
9 char uninit[7];
10 Sink = strlen(uninit);
12 return 0;