> Given that these kind of questions come up again and again may I make a
> bold proposal: Can we make "-m none" the default in ASAN mode?
My worry would be that we'd trade people complaining about ASAN mode
not working (which is harmless) for people complaining that they tried
to fuzz gzip / libjpeg / ffmpeg with ASAN and it took down their
machine (which can cause real damage).
> I consider this a purely theoretical concern. I use afl a lot. I always
> pass -m none. I never have any problems.
I think you are lucky, or mostly staying away from targets that may be
doing something like malloc(image_x * image_y). I had OOM issues when
fuzzing more than once.
Note that in ASAN mode, the error message is actually very descriptive:
SAYF("\n" cLRD "[-] " cRST
"Whoops, the target binary crashed suddenly, before
receiving any input\n"
" from the fuzzer! Since it seems to be built with ASAN
and you have a\n"
" restrictive memory limit configured, this is expected;
please read\n"
" %s/notes_for_asan.txt for help.\n", doc_path);
Cheers,
/mz