mirror of https://github.com/google/oss-fuzz.git
16 lines
388 B
C
16 lines
388 B
C
|
#include <stdio.h>
|
||
|
|
||
|
#include "chewing_fuzzer_common.h"
|
||
|
|
||
|
int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||
|
fuzz_input = fuzz_ptr = data;
|
||
|
fuzz_size = size;
|
||
|
|
||
|
const char* stress_argv[] = {
|
||
|
"./chewing_fuzzer", "-loop", "1", "-init", "-extra", NULL,
|
||
|
};
|
||
|
stress_main(sizeof(stress_argv) / sizeof(stress_argv[0]) - 1,
|
||
|
(char**)stress_argv);
|
||
|
return 0;
|
||
|
}
|