move taint_mode var

This commit is contained in:
van Hauser
2020-08-11 15:10:18 +02:00
parent 4f695b6f4c
commit 457f627101
6 changed files with 24 additions and 21 deletions

View File

@ -497,7 +497,7 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
char pid_buf[16];
sprintf(pid_buf, "%d", fsrv->fsrv_pid);
if (fsrv->qemu_mode == 2) {
if (fsrv->taint_mode) {
setenv("__AFL_TARGET_PID3", pid_buf, 1);