首页> 外文期刊>Journal of Automated Reasoning >COMPCERTS: A Memory-Aware Verified C Compiler Using a Pointer as Integer Semantics
【24h】

COMPCERTS: A Memory-Aware Verified C Compiler Using a Pointer as Integer Semantics

机译:COMPCERTS:使用指针作为整数语义的内存感知验证的C编译器

获取原文
获取原文并翻译 | 示例

摘要

The CompCert C compiler provides the formal guarantee that the observable behaviour of the compiled code improves on the observable behaviour of the source code. In this paper, we present a formally verified C compiler, CompCertS, which is essentially the CompCert compiler, albeit with a stronger formal guarantee: it gives a semantics to more programs and ensures that the memory consumption is preserved by the compiler. CompCertS is based on an enhanced memory model where, unlike CompCert but like Gcc, the binary representation of pointers can be manipulated much like integers and where, unlike CompCert, allocation may fail if no memory is available. The whole proof of CompCertS is a significant proof-effort and we highlight the crux of the novel proofs of 12 passes of the back-end and a challenging proof of an essential optimising pass of the front-end.
机译:CompCert C编译器提供了形式上的保证,即已编译代码的可观察行为可改进源代码的可观察行为。在本文中,我们提供了一种经过正式验证的C编译器CompCertS,它实际上是CompCert编译器,尽管具有更强的形式保证:它为更多程序提供了语义,并确保了编译器保留了内存消耗。 CompCertS基于增强的内存模型,与CompCert不同但与Gcc类似,指针的二进制表示可以像整数一样进行操作,并且与CompCert不同,如果没有可用的内存,分配可能会失败。 CompCertS的整个证明是一项重要的证明工作,我们重点介绍了后端12次传递的新颖证明的关键以及前端最优化传递的具有挑战性的证明。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号