ISCAS OpenIR  > 基础软件国家工程研究中心
an automatic testing approach for compiler based on metamorphic testing technique
Tao Qiuming; Wu Wei; Zhao Chen; Shen Wuwei
2010
会议名称17th Asia Pacific Software Engineering Conference: Software for Improving Quality of Life, APSEC 2010
会议录名称Proceedings - Asia-Pacific Software Engineering Conference, APSEC
页码270-279
会议日期40850
会议地点Sydney, NSW, Australia
收录类别EI
出版地United States
ISSN15301362
ISBN9780770000000
部门归属(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
摘要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.
关键词Automation Errors Fault Detection Program Compilers Semantics Software Design Testing
内容类型会议论文
URI标识http://ir.iscas.ac.cn/handle/311060/8648
专题基础软件国家工程研究中心
推荐引用方式
GB/T 7714
Tao Qiuming,Wu Wei,Zhao Chen,et al. an automatic testing approach for compiler based on metamorphic testing technique[C]. United States,2010:270-279.
条目包含的文件
文件名称/大小 文献类型 版本类型 开放类型 使用许可
05693203.pdf(711KB) 开放获取--请求全文
个性服务
推荐该条目
保存到收藏夹
查看访问统计
导出为Endnote文件
谷歌学术
谷歌学术中相似的文章
[Tao Qiuming]的文章
[Wu Wei]的文章
[Zhao Chen]的文章
百度学术
百度学术中相似的文章
[Tao Qiuming]的文章
[Wu Wei]的文章
[Zhao Chen]的文章
必应学术
必应学术中相似的文章
[Tao Qiuming]的文章
[Wu Wei]的文章
[Zhao Chen]的文章
相关权益政策
暂无数据
收藏/分享
所有评论 (0)
暂无评论
 

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。