Annotation of texi2mdoc/afl/README, Revision 1.1
1.1 ! kristaps 1: $Id$
! 2:
! 3: This is the AFL test directory for texi2mdoc, http://mdocml.bsd.lv/texi2mdoc.
! 4:
! 5: First, you'll need the AFL system, http://lcamtuf.coredump.cx/afl/.
! 6:
! 7: Next, you'll need to compile texi2mdoc with the AFL bindings. You can do this
! 8: from the top-level texi2mdoc directory as follows:
! 9:
! 10: % cd ..
! 11: % make clean && make texi2mdoc CC=afl-clang
! 12: % cp texi2mdoc afl
! 13: % cd afl
! 14:
! 15: (You may need to invoke afl-gcc instead of afl-clang.)
! 16:
! 17: Next, you'll want to build the dictionary of Texinfo terms:
! 18:
! 19: % sh ./mkdict.sh
! 20:
! 21: Finally, run the instrumentation itself.
! 22:
! 23: % afl-fuzz -i in -o out -x dict -- ./texi2mdoc @@
! 24:
! 25: See the AFL website for details on how to exercise multiple cores and so on.
CVSweb