“Synthesizing input grammars”: a replication study
“Synthesizing input grammars”: a replication study
复制标题
“合成输入语法”:一项复制研究
DOI:
--
复制
发表时间:
2022
期刊:
影响因子:
--
通讯作者:
A. Zeller
中科院分区:
文献类型:
--
作者:
Bachir Bendrissou;Rahul Gopinath;A. Zeller
When producing test inputs for a program, test generators ("fuzzers") can greatly profit from grammars that formally describe the language of expected inputs. In recent years, researchers thus have studied means to recover input grammars from programs and their executions. The GLADE algorithm by Bastani et al., published at PLDI 2017, was the first black-box approach to claim context-free approximation of input specification for non-trivial languages such as XML, Lisp, URLs, and more. Prompted by recent observations that the GLADE algorithm may show lower performance than reported in the original paper, we have reimplemented the GLADE algorithm from scratch. Our evaluation confirms that the effectiveness score (F1) reported in the GLADE paper is overly optimistic, and in some cases, based on the wrong language. Furthermore, GLADE fares poorly in several real-world languages evaluated, producing grammars that spend megabytes to enumerate inputs.