From 573a3dc076cfecb2337cca118bdbd7c4452b1ec6 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Sat, 21 Feb 2015 21:05:10 +0100 Subject: Add Makefile target to fuzz with AFL Also add a compact test case. As far as I understand, a good test case should exercise many code paths while being as small as possible. There's probably still room for improvement. The variable $AFL_PATH must point to the directory containing the AFL binaries. It can be set as an environment variable or passed to make on the command line. --- test/afl_test_cases/test.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 test/afl_test_cases/test.md (limited to 'test/afl_test_cases/test.md') diff --git a/test/afl_test_cases/test.md b/test/afl_test_cases/test.md new file mode 100644 index 0000000..27eee00 --- /dev/null +++ b/test/afl_test_cases/test.md @@ -0,0 +1,36 @@ +# H1 + +H2 +-- + +t ☺ +*b* **em** `c` +≥\&\ +\_e\_ + +4) I1 + +5) I2 + > [l](/u "t") + > + > - [f] + > - ![a](/u "t") + > + >> + >> + +~~~ l☺ +cb +~~~ + + c1 + c2 + +*** + +
+x +
+ +[f]: /u "t" + -- cgit v1.2.3