Text file src/cmd/cgo/internal/testsanitizers/testdata/libfuzzer2.c
1 #include <stddef.h> 2 3 #include "libfuzzer2.h" 4 5 int LLVMFuzzerTestOneInput(char *data, size_t size) { 6 if (size > 0 && data[0] == 'H') 7 if (size > 1 && data[1] == 'I') 8 if (size > 2 && data[2] == '!') 9 FuzzMe(data, size); 10 return 0; 11 } 12