mirror of
https://github.com/golang/go
synced 2024-11-08 13:56:21 -07:00
12 lines
240 B
C
12 lines
240 B
C
|
#include <stddef.h>
|
||
|
|
||
|
#include "libfuzzer2.h"
|
||
|
|
||
|
int LLVMFuzzerTestOneInput(char *data, size_t size) {
|
||
|
if (size > 0 && data[0] == 'H')
|
||
|
if (size > 1 && data[1] == 'I')
|
||
|
if (size > 2 && data[2] == '!')
|
||
|
FuzzMe(data, size);
|
||
|
return 0;
|
||
|
}
|