arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1604.05044cs.PL
收藏

论模块化全摘要编译--技术附录

On Modular and Fully-Abstract Compilation -- Technical Appendix

Marco Patrignani, Dominique Devriese, Frank Piessens

摘要:

安全编译研究生成与源级别组件一样安全的目标级别组件的编译器。在定义安全编译器时,完全抽象是得到最广泛证明的属性。一个编译器是模块化的,如果它允许不同的组件独立编译,然后连接在一起形成一个完整的程序。不幸的是,许多现有的非类型化机器码的完全抽象编译器不是模块化的。因此,虽然完全抽象的编译组件对于恶意攻击者来说是安全的,但如果它们相互链接,那么生成的组件可能会变得容易受到攻击。本文研究如何设计模块化的、完全抽象的编译器。它首先分析了编译程序链接在一起时产生的攻击,确定了由于链接造成的安全威胁。然后,它定义了一个编译器,从一个基于对象的语言与方法调用和动态内存分配,以非类型化的汇编语言扩展与内存隔离机制。本文提供了一个证明草图,所定义的编译器是完全抽象和模块化的,所以它的输出可以连接在一起,而不会引入安全违规。

英文摘要:

Secure compilation studies compilers that generate target-level components that are as secure as their source-level counterparts. Full abstraction is the most widely-proven property when defining a secure compiler. A compiler is modular if it allows different components to be compiled independently and then to be linked together to form a whole program. Unfortunately, many existing fully-abstract compilers to untyped machine code are not modular. So, while fully-abstractly compiled components are secure from malicious attackers, if they are linked against each other the resulting component may become vulnerable to attacks. This paper studies how to devise modular, fully-abstract compilers. It first analyses the attacks arising when compiled programs are linked together, identifying security threats that are due to linking. Then, it defines a compiler from an object-based language with method calls and dynamic memory allocation to untyped assembly language extended with a memory isolation mechanism. The paper provides a proof sketch that the defined compiler is fully-abstract and modular, so its output can be linked together without introducing security violations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑