(2021) Input Algebras.
|
Text
gopinath2021input.pdf Download (328kB) | Preview |
Abstract
Grammar-based test generators are highly efficient in producing syntactically valid test inputs, and give their user precise control over which test inputs should be generated. Adapting a grammar or a test generator towards a particular testing goal can be tedious, though. We introduce the concept of a grammar transformer, specializing a grammar towards inclusion or exclusion of specific patterns: “The phone number must not start with 011 or +1”. To the best of our knowledge, ours is the first approach to allow for arbitrary Boolean combinations of patterns, giving testers unprecedented flexibility in creating targeted software tests. The resulting specialized grammars can be used with any grammar-based fuzzer for targeted test generation, but also as validators to check whether the given specialization is met or not, opening up additional usage scenarios. In our evaluation on real-world bugs, we show that specialized grammars are accurate both in producing and validating targeted inputs.
Item Type: | Conference or Workshop Item (A Paper) (Paper) |
---|---|
Divisions: | Hamed Nemati (HM) Andreas Zeller (Software Engineering, ST) |
Conference: | ICSE International Conference on Software Engineering |
Depositing User: | Andreas Zeller |
Date Deposited: | 08 Sep 2020 09:49 |
Last Modified: | 21 Feb 2021 07:06 |
Primary Research Area: | NRA4: Secure Mobile and Autonomous Systems |
URI: | https://publications.cispa.saarland/id/eprint/3208 |
Actions
Actions (login required)
View Item |