首页    期刊浏览 2024年07月09日 星期二
登录注册

文章基本信息

  • 标题:Efficient Model-based Fuzz Testing Using Higher-order Attribute Grammars
  • 本地全文:下载
  • 作者:Pan, Fan ; Hou, Ying ; Hong, Zheng
  • 期刊名称:Journal of Software
  • 印刷版ISSN:1796-217X
  • 出版年度:2013
  • 卷号:8
  • 期号:3
  • 页码:645-651
  • DOI:10.4304/jsw.8.3.645-651
  • 语种:English
  • 出版社:Academy Publisher
  • 摘要: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.
  • 关键词:Model-based fuzz testing;Higher-order attribute grammars;Syntax analysis tree;Test case generation
国家哲学社会科学文献中心版权所有