[!] Note: can't test instrumentation when CPU_TARGET set.
[+] All set, you can now (hopefully) use the -Q mode in afl-fuzz!
The problem is that I am not able to use -Q mode in afl-fuzz. It returns this error:
[-] PROGRAM ABORT : Fork server handshake failed
Location : init_forkserver(), afl-fuzz.c:2251
I again checked the group posts, here are some the tricks that I tried to run in Q mode:
setting AFL_NO_FORKSRV=1
running afl-fuzz with -m none
running afl-showmap to get detailed error which returns me:
-- Program output begins --
Unable to reserve 0xf7000000 bytes of virtual address space for use as guest address space (check your virtual memory ulimit setting or reserve less using -R option)
-- Program output ends --
[-] PROGRAM ABORT : No instrumentation detected
Location : main(), afl-showmap.c:755
I also fine tune -m option to run my program. I tried bunch of different parameters, none of them seemed to work.
By the way, I configured QEMU for i386 and compiled my simple c program using gcc -m32 -static command.
Thanks,
Sadullah