new forkserver check

This commit is contained in:
vanhauser-thc
2024-01-30 09:55:44 +01:00
parent 4859b583ad
commit 12ab9ebd32

View File

@ -1017,6 +1017,12 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
if (rlen == 4) { if (rlen == 4) {
if (memcmp((char*)status, "AFL", 3) == 0) {
FATAL("Target uses the new forkserver model, you need to switch to a newer afl-fuzz too!");
}
if (!be_quiet) { OKF("All right - fork server is up."); } if (!be_quiet) { OKF("All right - fork server is up."); }
if (getenv("AFL_DEBUG")) { if (getenv("AFL_DEBUG")) {