Computer Science > Programming Languages
[Submitted on 5 Aug 2016 (this version), latest version 16 Jun 2017 (v2)]
Title:Synthesizing Program Input Grammars
View PDFAbstract: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 programs with highly structured inputs. We show that Glade consistently increases the incremental coverage compared to two baseline fuzzers.
Submission history
From: Osbert Bastani [view email][v1] Fri, 5 Aug 2016 00:13:42 UTC (967 KB)
[v2] Fri, 16 Jun 2017 10:41:54 UTC (247 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.