计算机科学 > 计算机科学中的逻辑
[提交于 2023年12月13日]
标题:Memory Simulations, Security and Optimization in a Verified Compiler
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Current compilers implement security features and optimizations that require nontrivial semantic reasoning about pointers and memory allocation: the program after the insertion of the security feature, or after applying the optimization, must simulate the original program despite a different memory layout. In this article, we illustrate such reasoning on pointer allocations through memory extensions and injections, as well as fine points on undefined values, by explaining how we implemented and proved correct two security features (stack canaries and pointer authentication) and one optimization (tail recursion elimination) in the CompCert formally verified compiler.
提交历史
来自:David Monniaux[v1] 2023年12月13日 星期三 13:11:05 UTC