• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <stdio.h>
2 
3 #include "chewing_fuzzer_common.h"
4 
LLVMFuzzerTestOneInput(const uint8_t * data,size_t size)5 int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
6   fuzz_input = fuzz_ptr = data;
7   fuzz_size = size;
8 
9   const char* stress_argv[] = {
10       "./chewing_fuzzer", "-loop", "1", "-extra", NULL,
11   };
12   stress_main(sizeof(stress_argv) / sizeof(stress_argv[0]) - 1,
13               (char**)stress_argv);
14   return 0;
15 }
16