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

基于质因数分解的控制流错误检测方法
引用本文:吴艳霞,顾国昌,王克惠,程利新.基于质因数分解的控制流错误检测方法[J].哈尔滨工程大学学报,2008,29(1):65-68.
作者姓名:吴艳霞  顾国昌  王克惠  程利新
作者单位:哈尔滨工程大学,计算机科学与技术学院,黑龙江,哈尔滨,150001
基金项目:黑龙江省博士后科研启动基金
摘    要:软件控制流错误检测技术是防止由于单粒子翻转事件而造成程序错误运行的有效手段之一,其方法主要是将编译时计算的签名值同运行时生成的签名值进行比较.因此,体现基本块间依赖关系的签名值的表示方法决定软件控制流错误检测概率的高低.为了在低检测代码开销的情况下提高错误检测概率,结合图论理论提出一种汇编层的控制流检测方法.该方法运用整数可唯一分解为素数乘积的代数基本定理表示基本块间依赖关系的要素,以此作为生成签名值的依据,将其插入以基本块为单位的检测指令中.实验表明,此算法的性能评价指标优于CFCSS等具有代表性的软件控制流检测方法,具有很强的实用价值.

关 键 词:编译技术  控制流检测  控制流图
文章编号:1006-7043(2008)01-0065-04
收稿时间:2007-01-30
修稿时间:2007年1月30日

Detecting errors in program flow based on prime factorization
WU Yan-xia,GU Guo-chang,WANG Ke-hui,CHENG Li-xin.Detecting errors in program flow based on prime factorization[J].Journal of Harbin Engineering University,2008,29(1):65-68.
Authors:WU Yan-xia  GU Guo-chang  WANG Ke-hui  CHENG Li-xin
Abstract:An error detection technique for software control flow,where a signature value set on compilation is compared with one derived at run time,is an effective way to prevent break-downs of program operations because of single event upsets.However,the probability of providing an effective error detection rate depends on where checks on the signature values are placed,which must correlate to basic blocks of code.In order to improve the error-detection rate at the lowest cost in detection codes,a control flow detection method based on an assembling layer is presented in combination with graph theory.The signature values are integers,and can be uniquely expressed as the products of prime numbers.These prime numbers can be chosen to reflect the dependencies of the basic blocks,and their relationships are then used to generate signature values.We employed this concept to determine the signature values to insert into detection instructions where each basic block is taken as a unit.The experimental study shows that the performance index of this proposed algorithm is better than that of CFCSS and other classic algorithms.
Keywords:compiling technique  control flow checking  control flow graph
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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