This is an example for piping a binary generated from a grammar directly to the standard input of an external program (fuzzer, ltrace, etc.) rather than write and read an intermediate temp file. I hope this will yield some performance gains.
Redone in 357d6d1. I reused some of your code. It is important to keep in mind that encode function can throw arbitrary exceptions for certain types of files, so you cannot use it directly.
This is an example for piping a binary generated from a grammar directly to the standard input of an external program (fuzzer, ltrace, etc.) rather than write and read an intermediate temp file. I hope this will yield some performance gains.
I am not a Haskell programmer, so forgive the ugliness. This PR relates to https://github.com/CIFASIS/QuickFuzz/issues/38