>
> Are there any examples out there of folks taking ANTLR4 grammars and generating fuzzers out of them? We use ANTLR4 heavily for parsing, but it would be cool to be able to flip this around and fuzz our processing too...
Reversing the parsing process leads to source code generators. What is a fuzzer actually?
> Are there any examples out there of folks taking ANTLR4 grammars and generating fuzzers out of them? We use ANTLR4 heavily for parsing, but it would be cool to be able to flip this around and fuzz our processing too...
Reversing the parsing process leads to source code generators. What is a fuzzer actually?I meant this definition of fuzzer [wikipedia]. I want to generate legal (according to the grammar) but randomly-driven input. This will find bugs in the code we have that parses that input.
On Thu, Jul 26, 2018 at 11:09 AM 'Mike Lischke' via antlr-discussion <antlr-discussion@googlegroups.com> wrote:>
> Are there any examples out there of folks taking ANTLR4 grammars and generating fuzzers out of them? We use ANTLR4 heavily for parsing, but it would be cool to be able to flip this around and fuzz our processing too...
Reversing the parsing process leads to source code generators. What is a fuzzer actually?I meant this definition of fuzzer [wikipedia]. I want to generate legal (according to the grammar) but randomly-driven input. This will find bugs in the code we have that parses that input.