mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
qemu debug
This commit is contained in:
@ -341,6 +341,8 @@ void afl_forkserver(CPUState *cpu) {
|
||||
status |= (FS_OPT_SET_MAPSIZE(MAP_SIZE) | FS_OPT_MAPSIZE);
|
||||
if (sharedmem_fuzzing != 0) status |= FS_OPT_SHDMEM_FUZZ;
|
||||
if (status) status |= (FS_OPT_ENABLED);
|
||||
if (getenv("AFL_DEBUG"))
|
||||
fprintf(stderr, "Debug: Sending status %08x\n", status);
|
||||
memcpy(tmp, &status, 4);
|
||||
|
||||
/* Tell the parent that we're alive. If the parent doesn't want
|
||||
|
Reference in New Issue
Block a user