arXiv · 1608.01723
Synthesizing Program Input Grammars
Abstract
We present an algorithm for synthesizing a context-free grammar encoding the language of valid program inputs from a set of input examples and blackbox access to the program. Our algorithm addresses shortcomings of existing grammar inference algorithms, which both severely overgeneralize and are prohibitively slow. Our implementation, GLADE, leverages the grammar synthesized by our algorithm to fuzz test programs with structured inputs. We show that GLADE substantially increases the incremental coverage on valid inputs compared to two baseline fuzzers.
Explore related subjects
Keep this discovery
Osbert Bastani, Rahul Sharma, Alex Aiken, Percy Liang. 2016-08-05. Synthesizing Program Input Grammars. https://arxiv.org/abs/1608.01723
Cite the original work for its findings. Save a collection to share your selection of sources.