首页 | 本学科首页   官方微博 | 高级检索  
     

GCC编译器中间代码层控制流扩充研究
引用本文:何涛,周会平,贾丽丽,王发鸿.GCC编译器中间代码层控制流扩充研究[J].计算机工程与科学,2012,34(2):73-77.
作者姓名:何涛  周会平  贾丽丽  王发鸿
作者单位:1. 国防科学技术大学继续教育学院,湖南长沙,410073
2. 国防科学技术大学计算机学院,湖南长沙,410073
摘    要:本文首先对CFCSS(控制流检错算法)进行了介绍,对GCC编译器的运行流程进行了简要分析,再次给出了在GCC编译器中扩充CFCSS算法的具体方法,最后通过故障注入实验对扩充后的GCC进行了有效性验证。实验表明,扩充了CFCSS算法的GCC编译器所编译的程序在运行过程中具有控制流检错能力。这为我们下一步的故障定位和故障恢复提供了有力的支持,为解决星载计算机的运行故障奠定了基础。

关 键 词:GCC  中间层代码  优化  控制流检错算法

Research on the Expanding Intermediate Code for Control Flow Checking Based on GCC
HE Tao , ZHOU Hui-ping , JIA Li-li , WANG Fa-hong.Research on the Expanding Intermediate Code for Control Flow Checking Based on GCC[J].Computer Engineering & Science,2012,34(2):73-77.
Authors:HE Tao  ZHOU Hui-ping  JIA Li-li  WANG Fa-hong
Affiliation:1 (1.School of Further Contin Education,National University of Defense Technology,Changsha 410073;2.School of Computer Science,National University of Defense Technology,Changsha 410073,China)
Abstract:The paper introduces for CFCSS,briefly analyzes the running routine of the GCC compiler,gives the concrete methods for how to extend the CFCSS algorithm in the GCC compiler and then compiles a single C language program in the extended GCC.Finally,we perform the CFCSS algorithm’s valid verification by fault injection experiments.The experiment shows the new program can check the error of the control flow when it runs,which is compiled by the GCC compiler after extending the CFCSS algorithm.The above conclusion gives great support to positioning and recovering the faults in the next step and lays a good foundation for solving the computer running faults in the space.
Keywords:GCC  intermediate code  optimization  control flow error detection algorithm
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号