中国科学院软件研究所机构知识库
Advanced  
ISCAS OpenIR  > 基础软件国家工程研究中心  > 会议论文
Title:
an automatic testing approach for compiler based on metamorphic testing technique
Author: Tao Qiuming ; Wu Wei ; Zhao Chen ; Shen Wuwei
Source: Proceedings - Asia-Pacific Software Engineering Conference, APSEC
Conference Name: 17th Asia Pacific Software Engineering Conference: Software for Improving Quality of Life, APSEC 2010
Conference Date: 40850
Issued Date: 2010
Conference Place: Sydney, NSW, Australia
Keyword: Automation ; Errors ; Fault detection ; Program compilers ; Semantics ; Software design ; Testing
Publish Place: United States
Indexed Type: EI
ISSN: 15301362
ISBN: 9780770000000
Department: (1) National Engineering Research Center of Fundamental Software, Institute of Software, Chinese Academy of Sciences, Beijing, China; (2) Department of Computer Science, Western Michigan University, Kalamazoo, MI, United States
English Abstract: Compilers play an important role in software development, and it is quite necessary to perform abundant testing to ensure the correctness of compilers. A critical task in compiler testing is to validate the semantic-soundness property which requires consistence between semantics of source programs and behavior of target executables. For validating this property, one main challenging issue is generation of a test oracle. Most existing approaches fall into two main categories when dealing with this issue: reference-based approaches and assertion-based approaches. All these approaches have their weakness when new programming languages are involved or test automation is required. To overcome the weakness in the existing approaches, we propose a new automatic approach for testing compiler. Our approach is based on the technique of metamorphic testing, which validates software systems via so-called "metamorphic relations". We select the equivalence-preservation relation as the metamorphic relation and propose an automatic metamorphic testing framework for compiler. We also propose three different techniques for automatically generating equivalent source programs as test inputs. Based on our approach, we developed a tool called Mettoc. Our mutation experiments show that Mettoc is effective to reveal compilers' errors in terms of the semantic-soundness property. Moreover, the empirical results also reveal that simple approaches for constructing test inputs are not weaker than complicated ones in terms of fault-detection capability. We also applied Mettoc in testing a number of open source compilers, and two real errors in GCC-4.4.3 and UCC-1.6 respectively have been detected by Mettoc. © 2010 IEEE.
Content Type: 会议论文
URI: http://ir.iscas.ac.cn/handle/311060/8648
Appears in Collections:基础软件国家工程研究中心_会议论文

Files in This Item:
File Name/ File Size Content Type Version Access License
05693203.pdf(711KB)----限制开放-- 联系获取全文

Recommended Citation:
Tao Qiuming,Wu Wei,Zhao Chen,et al. an automatic testing approach for compiler based on metamorphic testing technique[C]. 见:17th Asia Pacific Software Engineering Conference: Software for Improving Quality of Life, APSEC 2010. Sydney, NSW, Australia. 40850.
Service
Recommend this item
Sava as my favorate item
Show this item's statistics
Export Endnote File
Google Scholar
Similar articles in Google Scholar
[Tao Qiuming]'s Articles
[Wu Wei]'s Articles
[Zhao Chen]'s Articles
CSDL cross search
Similar articles in CSDL Cross Search
[Tao Qiuming]‘s Articles
[Wu Wei]‘s Articles
[Zhao Chen]‘s Articles
Related Copyright Policies
Null
Social Bookmarking
Add to CiteULike Add to Connotea Add to Del.icio.us Add to Digg Add to Reddit
所有评论 (0)
暂无评论
 
评注功能仅针对注册用户开放,请您登录
您对该条目有什么异议,请填写以下表单,管理员会尽快联系您。
内 容:
Email:  *
单位:
验证码:   刷新
您在IR的使用过程中有什么好的想法或者建议可以反馈给我们。
标 题:
 *
内 容:
Email:  *
验证码:   刷新

Items in IR are protected by copyright, with all rights reserved, unless otherwise indicated.

 

 

Valid XHTML 1.0!
Copyright © 2007-2019  中国科学院软件研究所 - Feedback
Powered by CSpace