googleprojectzero / Jackalope

Binary, coverage-guided fuzzer for Windows, macOS, Linux and Android
Apache License 2.0
1.1k stars 128 forks source link

Jacklope build failed #22

Closed dgh05t closed 2 years ago

dgh05t commented 2 years ago

Hi ifratric,

There's a mistake when I build Jackalope :

/Users/dghost/fuzz/Jackalope-main/shm.cpp:78:9: error: no member named 'name' in 'SharedMemory'
  this->name = (char*)malloc(name_size + 1);
  ~~~~  ^
/Users/dghost/fuzz/Jackalope-main/shm.cpp:79:16: error: no member named 'name' in 'SharedMemory'
  strcpy(this->name, name);
         ~~~~  ^
/Users/dghost/fuzz/Jackalope-main/shm.cpp:105:14: error: use of undeclared identifier 'name'
  shm_unlink(name);
             ^
/Users/dghost/fuzz/Jackalope-main/shm.cpp:107:8: error: use of undeclared identifier 'name'

maybe need to change the header file?

ifratric commented 2 years ago

Whoops, looks like I broke the mac build with yesterday's commit. Should be fixed now!