doi: 10.4304/jsw.8.3.645-651
Efficient Model-based Fuzz Testing Using Higher-order Attribute Grammars
- Institute of Command Automaton, PLA University of science and technology, Nanjing, Jiangsu, China
Abstract
Format specifications of data input are critical tomodel-based fuzz testing. Present methods cannot describethe format accurately, which leads to high redundancy intesting practices. In order to improve testing efficiency, wepropose a grammar-driven approach to fuzz testing. Firstly,we build a formal model of data format using higher-orderattribute grammars, and construct syntax tree on the basisof data samples. Secondly, all nodes in the syntax tree aretraversed and mutated to generate test cases according tothe attribute rules. Experimental results show that theproposed approach can reduce invalid and redundant testcases, and discover potential vulnerabilities of softwareimplementations effectively.
Keywords
- Model-based fuzz testing
- Higher-orderat
How to Cite
Fan Pan, Ying Hou, Zheng Hong, Lifa Wu, and Haiguang Lai, "Efficient Model-based Fuzz Testing Using Higher-order Attribute Grammars," Journal of Software, vol. 8, no. 3, pp. 645-651, 2013. https://doi.org/ 10.4304/jsw.8.3.645-651
Copyright & License
Copyright © 2013 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).
