/mz
I didn't take on the refactoring work, but I did get afl-showmap and afl-cmin
working with the forkserver. The afl-showmap changes are fairly straight-forward
and shouldn't affect pre-existing functionality. The afl-cmin changes I have
are a bit more of a hack and I had to break stdin processing and take out
some sanity checks (that would have caused another forkserver startup).
It seems to work for me and my use case (I currently have forkserver startup
cost of about 5 seconds but I can run around 100 tests per second with the
fork server. I will soon have a several-minute forkserver startup for another
test case). It is not yet heavily tested. My patches are attached.
Tim