mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 11:28:08 +00:00
fix unicorn mode for CFLAGS
This commit is contained in:
@ -524,7 +524,7 @@ distrib: all radamsa
|
|||||||
$(MAKE) -C examples/socket_fuzzing
|
$(MAKE) -C examples/socket_fuzzing
|
||||||
$(MAKE) -C examples/argv_fuzzing
|
$(MAKE) -C examples/argv_fuzzing
|
||||||
-cd qemu_mode && sh ./build_qemu_support.sh
|
-cd qemu_mode && sh ./build_qemu_support.sh
|
||||||
cd unicorn_mode && sh ./build_unicorn_support.sh
|
cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh
|
||||||
|
|
||||||
binary-only: all radamsa
|
binary-only: all radamsa
|
||||||
$(MAKE) -C libdislocator
|
$(MAKE) -C libdislocator
|
||||||
@ -533,7 +533,7 @@ binary-only: all radamsa
|
|||||||
$(MAKE) -C examples/socket_fuzzing
|
$(MAKE) -C examples/socket_fuzzing
|
||||||
$(MAKE) -C examples/argv_fuzzing
|
$(MAKE) -C examples/argv_fuzzing
|
||||||
-cd qemu_mode && sh ./build_qemu_support.sh
|
-cd qemu_mode && sh ./build_qemu_support.sh
|
||||||
cd unicorn_mode && sh ./build_unicorn_support.sh
|
cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh
|
||||||
|
|
||||||
source-only: all radamsa
|
source-only: all radamsa
|
||||||
-$(MAKE) -C llvm_mode
|
-$(MAKE) -C llvm_mode
|
||||||
|
@ -413,7 +413,7 @@ void sync_fuzzers(afl_state_t *afl) {
|
|||||||
DIR * sd;
|
DIR * sd;
|
||||||
struct dirent *sd_ent;
|
struct dirent *sd_ent;
|
||||||
u32 sync_cnt = 0, synced = 0, entries = 0;
|
u32 sync_cnt = 0, synced = 0, entries = 0;
|
||||||
u8 path[PATH_MAX];
|
u8 path[PATH_MAX + 256];
|
||||||
|
|
||||||
sd = opendir(afl->sync_dir);
|
sd = opendir(afl->sync_dir);
|
||||||
if (!sd) { PFATAL("Unable to open '%s'", afl->sync_dir); }
|
if (!sd) { PFATAL("Unable to open '%s'", afl->sync_dir); }
|
||||||
@ -533,7 +533,7 @@ void sync_fuzzers(afl_state_t *afl) {
|
|||||||
s32 fd;
|
s32 fd;
|
||||||
struct stat st;
|
struct stat st;
|
||||||
|
|
||||||
sprintf(path, "%s/%s", qd_path, namelist[o]->d_name);
|
snprintf(path, sizeof (path), "%s/%s", qd_path, namelist[o]->d_name);
|
||||||
afl->syncing_case = next_min_accept;
|
afl->syncing_case = next_min_accept;
|
||||||
next_min_accept++;
|
next_min_accept++;
|
||||||
o--;
|
o--;
|
||||||
|
Reference in New Issue
Block a user