arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1608.01723cs.PL
收藏

综合程序输入文法

Synthesizing Program Input Grammars

Osbert Bastani, Rahul Sharma, Alex Aiken, Percy Liang

摘要:

我们提出了一个算法,用于合成一个上下文无关文法编码的语言的有效程序输入从一组输入的例子和黑盒访问的程序。我们的算法解决了现有的语法推理算法的缺点,这两个严重过度概括和速度非常慢。我们的实现,GLADE,利用我们的算法合成的语法模糊测试程序的结构化输入。我们表明,GLADE大幅增加有效输入的增量覆盖率相比,两个基线模糊。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑