mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-16 20:08:07 +00:00
code format
This commit is contained in:
@ -405,20 +405,25 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
|
||||
|
||||
}
|
||||
|
||||
if (fsrv->nyx_standalone){
|
||||
if (fsrv->nyx_standalone) {
|
||||
|
||||
fsrv->nyx_runner = fsrv->nyx_handlers->nyx_new(
|
||||
fsrv->target_path, x, fsrv->nyx_bind_cpu_id, MAX_FILE, true);
|
||||
}
|
||||
else{
|
||||
|
||||
} else {
|
||||
|
||||
if (fsrv->nyx_parent) {
|
||||
|
||||
fsrv->nyx_runner = fsrv->nyx_handlers->nyx_new_parent(
|
||||
fsrv->target_path, x, fsrv->nyx_bind_cpu_id, MAX_FILE, true);
|
||||
|
||||
} else {
|
||||
|
||||
fsrv->nyx_runner = fsrv->nyx_handlers->nyx_new_child(
|
||||
fsrv->target_path, x, fsrv->nyx_bind_cpu_id, fsrv->nyx_id);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (fsrv->nyx_runner == NULL) { FATAL("Something went wrong ..."); }
|
||||
|
@ -1346,7 +1346,7 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
"0)");
|
||||
|
||||
}
|
||||
|
||||
|
||||
afl->fsrv.nyx_parent = true;
|
||||
afl->fsrv.nyx_id = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user