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

一个正式验证的编译器后端

A formally verified compiler back-end

Xavier Leroy

摘要:

本文描述了一个从Cminor(一种简单的命令式中间语言)到PowerPC汇编代码的编译器后端的开发和形式化验证(语义保持的证明),使用Coq证明助手对编译器进行编程并证明其正确性。这样的验证编译器是有用的,在形式化的方法应用于关键软件的认证的上下文中:编译器的验证保证了在源代码上证明的安全属性也适用于可执行的编译代码。

英文摘要:

This article describes the development and formal verification (proof of semantic preservation) of a compiler back-end from Cminor (a simple imperative intermediate language) to PowerPC assembly code, using the Coq proof assistant both for programming the compiler and for proving its correctness. Such a verified compiler is useful in the context of formal methods applied to the certification of critical software: the verification of the compiler guarantees that the safety properties proved on the source code hold for the executable compiled code as well.

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

↑