mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
change: slaves only sync from masters
This commit is contained in:
@ -1065,8 +1065,21 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
|
||||
init_count_class16();
|
||||
|
||||
if (afl->is_master && check_master_exists(afl) == 1) {
|
||||
|
||||
WARNF("It is wasteful to run more than one master!");
|
||||
|
||||
}
|
||||
|
||||
setup_dirs_fds(afl);
|
||||
|
||||
if (afl->is_slave && check_master_exists(afl) == 0) {
|
||||
|
||||
WARNF("no -M master found. You need to run one master!");
|
||||
sleep(5);
|
||||
|
||||
}
|
||||
|
||||
setup_custom_mutators(afl);
|
||||
|
||||
setup_cmdline_file(afl, argv + optind);
|
||||
|
Reference in New Issue
Block a user