26 printf(
"Invalid directory\n");
31 printf(
"Invalid directory\n");
37 if (dir->d_type != DT_REG) {
44 fp = fopen(dir->
d_name,
"rb");
55 if (Size == (
size_t) -1) {
59 }
else if (Size > 0x1000) {
68 if (fread(Data, Size, 1, fp) != 1) {
76 for (
i=0;
i<Size;
i++) {
86 printf(
"Ok : whole directory finished\n");
_Use_decl_annotations_ int __cdecl printf(const char *const _Format,...)
static static fork const void static count static fd const char const char static newpath chdir
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)
int main(int argc, char **argv)
const char * cs_fuzz_arch(uint8_t arch)
static static fork const void static count static fd const char const char static newpath char char argv
static static fork const void static count static fd const char static mode const char static pathname const char static path const char static dev const char static group static getpid static getuid void void static data static pause const char static mode static sync const char const char static newpath const char static pathname unsigned long static filedes void static end_data_segment static handler static getegid char static len static pgid const char static path static newfd static getpgrp static euid const sigset_t static mask const char static len const gid_t static list const char const char static newpath const char static library readdir