Volume 8 Number 3 (Mar. 2013)
Home > Archive > 2013 > Volume 8 Number 3 (Mar. 2013) >
JSW 2013 Vol.8(3): 645-651 ISSN: 1796-217X
doi: 10.4304/jsw.8.3.645-651

Efficient Model-based Fuzz Testing Using Higher-order Attribute Grammars

Fan Pan, Ying Hou, Zheng Hong, Lifa Wu, Haiguang Lai

Institute of Command Automaton, PLA University of science and technology, Nanjing, Jiangsu, China

Abstract—Format specifications of data input are critical to model-based fuzz testing. Present methods cannot describe the format accurately, which leads to high redundancy in testing practices. In order to improve testing efficiency, we propose a grammar-driven approach to fuzz testing. Firstly, we build a formal model of data format using higher-order attribute grammars, and construct syntax tree on the basis of data samples. Secondly, all nodes in the syntax tree are traversed and mutated to generate test cases according to the attribute rules. Experimental results show that the proposed approach can reduce invalid and redundant test cases, and discover potential vulnerabilities of software implementations effectively.

Index Terms—Model-based fuzz testing, Higher-order attribute grammars, Syntax analysis tree, Test case generation.

[PDF]

Cite: Fan Pan, Ying Hou, Zheng Hong, Lifa Wu, Haiguang Lai, "Efficient Model-based Fuzz Testing Using Higher-order Attribute Grammars," Journal of Software vol. 8, no. 3, pp. 645-651, 2013.

General Information

ISSN: 1796-217X (Online)
Frequency:  Quarterly
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, CNKIGoogle Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsweditorialoffice@gmail.com
  • Mar 01, 2024 News!

    Vol 19, No 1 has been published with online version    [Click]

  • Jan 04, 2024 News!

    JSW will adopt Article-by-Article Work Flow

  • Apr 01, 2024 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Apr 01, 2024 News!

    Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP   [Click]

  • Nov 02, 2023 News!

    Vol 18, No 4 has been published with online version   [Click]