#include "zip_read_fuzzer.cc"
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 8 of file fuzz_main.c.
14 fprintf(stderr,
"no input file\n");
18 f = fopen(
argv[1],
"rb");
20 fprintf(stderr,
"error opening input file %s\n",
argv[1]);
35 fprintf(stderr,
"malloc() failed\n");
39 if (fread(
buf, siz_buf, 1,
f) != 1) {
40 fprintf(stderr,
"fread() failed\n");
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)
RZ_API void Ht_() free(HtName_(Ht) *ht)
void * malloc(size_t size)
static static fork const void static count static fd const char const char static newpath char char argv
References argv, err, f, benchmark::FILE, free(), LLVMFuzzerTestOneInput(), malloc(), NULL, and SEEK_END.