instrument for afl?
Hello,
Would there be any benefit to run afl against the mlr binary? http://lcamtuf.coredump.cx/afl/
This is a basic example using tcpdump: http://volatileminds.net/2015/06/29/basic-afl-usage.html
I don't see anything pertaining to afl when I do CC=/usr/local/bin/afl-gcc; make and there's no ./configure file so that's not going to work, but this gives a basic example to get started.
The readme is also useful: http://lcamtuf.coredump.cx/afl/README.txt
this is a good idea. ./configure on https://github.com/johnkerl/miller/issues/9 which is kind of stalled out right now but should be done in the medium term.
There are some issues to deal with:
- exit code needs to be changed to 0 (easy, it is just to conform afl convention)
- if we don't want to test each command (with input/output/flags) combination separately there is need to wrap them and read arguments from stdin instead of command line (char **agrv). After some separator usual input will follow.