{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,8]],"date-time":"2026-10-08T11:34:35Z","timestamp":1791459275581,"version":"4.3.4"},"reference-count":30,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2019,12,2]],"date-time":"2019-12-02T00:00:00Z","timestamp":1575244800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["SIGSOFT Softw. Eng. Notes"],"published-print":{"date-parts":[[2019,12,2]]},"abstract":"<jats:p>Fuzz testing has been gaining ground recently with substantial e orts devoted to the area. Typically, fuzzers take a set of seed inputs and leverage random mutations to continually improve the inputs with respect to a cost, e.g. program code coverage, to discover vulnerabilities or bugs. Following this methodology, fuzzers are very good at generating unstructured inputs that achieve high coverage. However fuzzers are less e ective when the inputs are structured, say they conform to an input grammar. Due to the nature of random mutations, the overwhelming abundance of inputs generated by this common fuzzing practice often adversely hinders the effectiveness and efficiency of fuzzers on grammar-aware applications. The problem of testing becomes even harder, when the goal is not only to achieve increased code coverage, but also to nd complex vulnerabilities related to other cost measures, say high resource consumption in an application.<\/jats:p>\n          <jats:p>We propose Saffron an adaptive grammar-based fuzzing approach to effectively and efficiently generate inputs that expose expensive executions in programs. Saffron takes as input a user-provided grammar, which describes the input space of the program under analysis, and uses it to generate test inputs. Saffron assumes that the grammar description is approximate since precisely describing the input program space is often difficult as a program may accept unintended inputs due to e.g., errors in parsing. Yet these inputs may reveal worst-case complexity vulnerabilities. The novelty of Saffron is then twofold: (1) Given the user-provided grammar, Saffron attempts to discover whether the program accepts unexpected inputs outside of the provided grammar, and if so, it repairs the grammar via grammar mutations. The repaired grammar serves as a speci cation of the actual inputs accepted by the application. (2) Based on the re ned grammar, it generates concrete test inputs. It starts by treating every production rule in the grammar with equal probability of being used for generating concrete inputs. It then adaptively re nes the probabilities along the way by increasing the probabilities for rules that have been used to generate inputs that improve a cost, e.g., code coverage or arbitrary user-de ned cost. Evaluation results show that Saffron signi cantly outperforms state-of-the-art baselines.<\/jats:p>","DOI":"10.1145\/3364452.3364455","type":"journal-article","created":{"date-parts":[[2019,12,13]],"date-time":"2019-12-13T14:08:57Z","timestamp":1576246137000},"page":"14-14","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":26,"title":["Saffron"],"prefix":"10.1145","volume":"44","author":[{"given":"Xuan-Bach D.","family":"Le","sequence":"first","affiliation":[{"name":"The University of Melbourne, Melbourne, Australia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Corina","family":"Pasareanu","sequence":"additional","affiliation":[{"name":"Carnegie Mellon University, Pittsburgh, PA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Rohan","family":"Padhye","sequence":"additional","affiliation":[{"name":"University of California, Berkeley, Berkeley, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"David","family":"Lo","sequence":"additional","affiliation":[{"name":"Singapore Management University, Singapore, Singapore"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Willem","family":"Visser","sequence":"additional","affiliation":[{"name":"Stellenbosch University,, Stellenbosch, South Africa"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Koushik","family":"Sen","sequence":"additional","affiliation":[{"name":"University of California, Berkeley, Berkeley, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2019,12,12]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"http:\/\/stackstatus.net\/post\/147710624694\/outagepostmortem- july-20--2016.  http:\/\/stackstatus.net\/post\/147710624694\/outagepostmortem- july-20--2016."},{"key":"e_1_2_1_2_1","unstructured":"http:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE- 2011--5021.  http:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE- 2011--5021."},{"key":"e_1_2_1_3_1","unstructured":"https:\/\/www.phpclasses.org\/blog\/post\/171-PHPVulnerability- May-Halt-Millions-of-Servers.html.  https:\/\/www.phpclasses.org\/blog\/post\/171-PHPVulnerability- May-Halt-Millions-of-Servers.html."},{"key":"e_1_2_1_4_1","unstructured":"https:\/\/meta.stackover ow.com\/questions\/32837\/why-doesstack- over ow-use-a-backtracking-regex-implementation.  https:\/\/meta.stackover ow.com\/questions\/32837\/why-doesstack- over ow-use-a-backtracking-regex-implementation."},{"key":"e_1_2_1_5_1","unstructured":"https:\/\/github.com\/codehaus-plexus\/plexus-util\/issues\/57.  https:\/\/github.com\/codehaus-plexus\/plexus-util\/issues\/57."},{"key":"e_1_2_1_6_1","unstructured":"https:\/\/www.darpa.mil\/program\/space-time-analysis-forcybersecurity.  https:\/\/www.darpa.mil\/program\/space-time-analysis-forcybersecurity."},{"key":"e_1_2_1_7_1","unstructured":"https:\/\/github.com\/antlr\/grammarsv4\/ blob\/master\/json\/JSON.g4.  https:\/\/github.com\/antlr\/grammarsv4\/ blob\/master\/json\/JSON.g4."},{"key":"e_1_2_1_8_1","unstructured":"American fuzzy lop. http:\/\/lcamtuf.coredump.cx\/a \/.  American fuzzy lop. http:\/\/lcamtuf.coredump.cx\/a \/."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/3140587.3062349"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/2813885.2737955"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/1379022.1375607"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/1594834.1480898"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/3093333.3009842"},{"key":"e_1_2_1_14_1","volume-title":"Active learning of input grammars. arXiv preprint arXiv:1708.08731","author":"Hoschele Matthias","year":"2017","unstructured":"Matthias Hoschele , Alexander Kampmann , and Andreas Zeller . Active learning of input grammars. arXiv preprint arXiv:1708.08731 , 2017 . Matthias Hoschele, Alexander Kampmann, and Andreas Zeller. Active learning of input grammars. arXiv preprint arXiv:1708.08731, 2017."},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2019.00064"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/3092703.3098225"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/3106237.3106309"},{"key":"e_1_2_1_18_1","first-page":"432","volume-title":"IEEE International Conference on Software Maintenance and Evolution (ICSME)","author":"Le Xuan-Bach D","unstructured":"Xuan-Bach D Le , Quang Loc Le , David Lo , and Claire Le Goues . Enhancing automated program repair with deductive veri cation . In IEEE International Conference on Software Maintenance and Evolution (ICSME) , pages 428{ 432 . IEEE, 2016. Xuan-Bach D Le, Quang Loc Le, David Lo, and Claire Le Goues. Enhancing automated program repair with deductive veri cation. In IEEE International Conference on Software Maintenance and Evolution (ICSME), pages 428{432. IEEE, 2016."},{"key":"e_1_2_1_19_1","first-page":"224","volume-title":"23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER)","volume":"1","author":"Le Xuan Bach D","unstructured":"Xuan Bach D Le , David Lo , and Claire Le Goues . History driven program repair . In 23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER) , volume 1 , pages 213{ 224 . IEEE, 2016. Xuan Bach D Le, David Lo, and Claire Le Goues. History driven program repair. In 23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER), volume 1, pages 213{224. IEEE, 2016."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-017-9577-2"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3213846.3213874"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/3213846.3213868"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1109\/MUTATION.2006.11"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3293882.3339002"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.5555\/2501720"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/3133956.3134073"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10817-016-9402-4"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2019.00081"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/3180155.3180233"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2017.45"}],"container-title":["ACM SIGSOFT Software Engineering Notes"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3364452.3364455","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3364452.3364455","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T23:23:29Z","timestamp":1750202609000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3364452.3364455"}},"subtitle":["Adaptive Grammar-based Fuzzing for Worst-Case Analysis"],"short-title":[],"issued":{"date-parts":[[2019,12,2]]},"references-count":30,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2019,12,2]]}},"alternative-id":["10.1145\/3364452.3364455"],"URL":"https:\/\/doi.org\/10.1145\/3364452.3364455","relation":{},"ISSN":["0163-5948"],"issn-type":[{"value":"0163-5948","type":"print"}],"subject":[],"published":{"date-parts":[[2019,12,2]]},"assertion":[{"value":"2019-12-12","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}