diff options
author | van Hauser <vh@thc.org> | 2020-05-13 18:20:06 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-05-13 18:20:06 +0200 |
commit | 8cc54424019d64d5dabd5c53277ddb09542b5a1c (patch) | |
tree | 7cf01fc302d4dc7cb2ea39a7374dc2eef045d8bd /src/afl-fuzz-run.c | |
parent | bd94d5fce774e40d874d6efc941998bacad1f933 (diff) | |
download | afl++-8cc54424019d64d5dabd5c53277ddb09542b5a1c.tar.gz |
fix GNUmakefile
Diffstat (limited to 'src/afl-fuzz-run.c')
-rw-r--r-- | src/afl-fuzz-run.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c index d9adb792..bbcd9a99 100644 --- a/src/afl-fuzz-run.c +++ b/src/afl-fuzz-run.c @@ -401,6 +401,20 @@ void sync_fuzzers(afl_state_t *afl) { } + /* + // a slave only syncs from a master, a master syncs from everyone + if (likely(afl->is_slave)) { + + u8 x = alloc_printf("%s/%s/is_master", afl->sync_dir, sd_ent->d_name); + int res = access(x, F_OK); + free(x); + if (res != 0) + continue; + + } + + */ + /* Skip anything that doesn't have a queue/ subdirectory. */ qd_path = alloc_printf("%s/%s/queue", afl->sync_dir, sd_ent->d_name); |