高级检索

    基于类型注解的认证编译器设计与实现

    Design and Implementation of a Certifying Compiler for Type-Based Annotation

    • 摘要: 基于类型注解的认证编译器是安全策略系统的核心部件 ,它不仅能够用C语言的类型安全子集编写的程序编译成优化的Intelx86 /linux汇编语言程序 ,而且还可以根据类型安全策略的要求产生带注解的汇编程序 实验结果表明 ,新设计的认证编译器可实现 :①类型安全的C语言子集的编译 ;②许多标准的局部优化 ;③可以对数组运行时越界操作进行检查 由于安全策略系统的证明是建立在含注解的代码基础之上的 ,因此 ,该认证编译器在移动代码安全检查中非常有用

       

      Abstract: The certifying compiler for type-based annotation, which is a key component of the safety infrastructure, can translate programs, written in a type safe subset of the C programming language, into highly optimized Intel x86/linux assembly language programs, and also can produce the assembly language programs with annotation based on type-safety policy. The experiment shows that: ① it is reliable to translate a type-safe subset of C programming language into annotated Intel x86 assembly language; ② the certifying compiler is freely able to apply many standard local optimizations; and ③ it can signal a fatal error for the run-time array bound checking. Since the proof system of the safety policy is based on the annotated target code, the certifying compiler thus may be useful in a system for safe mobile code.

       

    /

    返回文章
    返回