better cmp map fsrv fix

This commit is contained in:
van Hauser
2021-01-20 10:01:34 +01:00
parent e7b572af36
commit 9dff3495d5
3 changed files with 5 additions and 15 deletions

View File

@ -33,6 +33,8 @@ void cmplog_exec_child(afl_forkserver_t *fsrv, char **argv) {
setenv("___AFL_EINS_ZWEI_POLIZEI___", "1", 1);
if (fsrv->qemu_mode) { setenv("AFL_DISABLE_LLVM_INSTRUMENTATION", "1", 0); }
if (!fsrv->qemu_mode && argv[0] != fsrv->cmplog_binary) {
argv[0] = fsrv->cmplog_binary;