forkserver debug flag support

This commit is contained in:
van Hauser
2021-01-21 18:43:06 +01:00
parent 040bf5a61d
commit 60764ebdf1
3 changed files with 8 additions and 4 deletions

View File

@ -339,6 +339,7 @@ int main(int argc, char **argv_orig, char **envp) {
afl_state_init(afl, map_size);
afl->debug = debug;
afl_fsrv_init(&afl->fsrv);
if (debug) { afl->fsrv.debug = true ; }
read_afl_environment(afl, envp);
if (afl->shm.map_size) { afl->fsrv.map_size = afl->shm.map_size; }