1 | #include <cstdint> |
---|---|
2 | #include <cstring> |
3 | |
4 | volatile size_t Sink; |
5 | |
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(s: uninit); |
11 | } |
12 | return 0; |
13 | } |
14 | |
15 |