Partial Evaluator for peC and Its Application to Compiler Validation
Author:
Affiliation:

Clc Number:

Fund Project:

Key Program for Science and Technology Development of Jilin Province of China (20150101054JC, 20140520069 JH, 20150520060JH); National Natural Science Foundation of China (61300049); Specialized Research Fund for the Doctoral Program of Higher Education of Ministry of Education of China (20120061120059); Graduate Innovation Fund of Jilin University (201681)

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    Partial evaluation plays an important role in many areas such as program optimization and automatic software generation. This paper applies partial evaluation to validating compilers. The design of peC, which is a subset of C, and the formalized description of partial evaluation strategy for peC are presented. Furthermore, the implementation of a partial evaluator for peC, and a compiler testing framework based on partial evaluation are provided. Experiments show that this new approach can not only detect errors which can be detected by other methods in GCC and LLVM but also found some errors which are not detected by the other methods. In summary, the work by this paper demonstrates applying partial evaluation in testing compilers is effective.

    Reference
    Related
    Cited by
Get Citation

郭德贵,王冠成,吕帅,刘磊. peC语言的部分求值器及在编译器测试中的应用.软件学报,2017,28(5):1221-1232

Copy
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:June 02,2016
  • Revised:September 25,2016
  • Adopted:
  • Online: January 22,2017
  • Published:
You are the firstVisitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-4
Address:4# South Fourth Street, Zhong Guan Cun, Beijing 100190,Postal Code:100190
Phone:010-62562563 Fax:010-62562533 Email:jos@iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063