PCC中数组边界检查的优化和生成  

Optimization and Creation for Array Bound Check in Proof Carrying Code

在线阅读下载全文

作  者:胡荣贵[1] 陈意云[1] 郭帆[1] 张昱[1] 

机构地区:[1]中国科学技术大学计算机科学与技术系,安徽合肥230026

出  处:《小型微型计算机系统》2003年第12期2278-2282,共5页Journal of Chinese Computer Systems

基  金:国家自然科学基金 (60 1 730 4 9)资助

摘  要:PCC的数组边界检查存在着由于无法确定数组下标表达式符号值的范围 ,而造成拒绝执行一些安全的移动代码等问题 .本文给出的一种数组边界检查的优化及生成算法 ,不仅能够比较好地解决了这一问题 ,同时还生成了循环不变式注解中的条件谓词 .我们设计的编译器———认证编译器———已经实现了这些算法 ,并完成了从用C编程语言的类型安全子集编写的源程序到携带注解的Intelx86 /linux汇编语言程序的编译过程 .由于基于语言安全策略系统的证明是建立在携带注解的代码基础之上的 ,因此该认证编译器中实现的算法在移动代码安全检查中非常有用 .Some of the safe mobile codes may be rejected to execute, since there is no way to verify statically that the symbol range value of an array subscript expression in PCC. Compiler optimization and creation algorithms for array bound checks we disigned can not only overcome the above problem, but also form conditional predicates of the loop-invariant annotation. We have implemented a certifying compiler that translates programs written in a type safe subset of the C programming language into highly annotated Intel x86/linux assembly language programs. Since the language-based proof system of the safety policy is founded on the annotated target code, algorithms implemented in the certifying compiler thus may be useful in a system for safe mobile code.

关 键 词:PCC 数组边界检查 认证编译器 控制流图 注解 移动代码 语言安全策略系统 

分 类 号:TP314[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象