mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 04:18:06 +00:00
qemu debug
This commit is contained in:
@ -277,8 +277,8 @@ static void report_error_and_exit(int error) {
|
||||
break;
|
||||
case FS_ERROR_MMAP:
|
||||
FATAL(
|
||||
"the fuzzing target reports that the mmap() call to the shared memory "
|
||||
"failed.");
|
||||
"the fuzzing target reports that the mmap() call to the shared "
|
||||
"memory failed.");
|
||||
break;
|
||||
default:
|
||||
FATAL("unknown error code %u from fuzzing target!", error);
|
||||
@ -488,17 +488,17 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
|
||||
|
||||
if (!be_quiet) { OKF("All right - fork server is up."); }
|
||||
|
||||
if (getenv("AFL_DEBUG")) {
|
||||
|
||||
ACTF("Extended forkserver functions received (%08x).", status);
|
||||
|
||||
}
|
||||
|
||||
if ((status & FS_OPT_ERROR) == FS_OPT_ERROR)
|
||||
report_error_and_exit(FS_OPT_GET_ERROR(status));
|
||||
|
||||
if ((status & FS_OPT_ENABLED) == FS_OPT_ENABLED) {
|
||||
|
||||
if (getenv("AFL_DEBUG")) {
|
||||
|
||||
ACTF("Extended forkserver functions received (%08x).", status);
|
||||
|
||||
}
|
||||
|
||||
if ((status & FS_OPT_SNAPSHOT) == FS_OPT_SNAPSHOT) {
|
||||
|
||||
fsrv->snapshot = 1;
|
||||
|
Reference in New Issue
Block a user