1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-07 20:12:27 +00:00

Add afl fuzzing helpers.

This commit is contained in:
Andrew Chambers
2019-11-29 16:41:27 +13:00
parent 967a8b5a70
commit 4acc63e325
6 changed files with 88 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
(def p (parser/new))
(parser/consume p (slurp ((dyn :args) 1)))
(while (parser/has-more p)
(pp (parser/produce p)))