1 // This file is distributed under the University of Illinois Open Source
2 // License. See LICENSE.TXT for details.
4 // abs(x) < 0 and y == Const puzzle.
11 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
12 if (Size < 8) return 0;
15 memcpy(&x, Data, sizeof(x));
16 memcpy(&y, Data + sizeof(x), sizeof(y));
17 if (abs(x) < 0 && y == 0xbaddcafe) {
18 printf("BINGO; Found the target, exiting; x = 0x%x y 0x%x\n", x, y);