计算机科学 > 计算机科学中的逻辑
[提交于 2015年9月10日]
标题:A Formal C Memory Model for Separation Logic
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The core of a formal semantics of an imperative programming language is a memory model that describes the behavior of operations on the memory. Defining a memory model that matches the description of C in the C11 standard is challenging because C allows both high-level (by means of typed expressions) and low-level (by means of bit manipulation) memory accesses. The C11 standard has restricted the interaction between these two levels to make more effective compiler optimizations possible, on the expense of making the memory model complicated. We describe a formal memory model of the (non-concurrent part of the) C11 standard that incorporates these restrictions, and at the same time describes low-level memory operations. This formal memory model includes a rich permission model to make it usable in separation logic and supports reasoning about program transformations. The memory model and essential properties of it have been fully formalized using the Coq proof assistant.
提交历史
来自:Robbert Krebbers[v1] 2015年9月10日 星期四 21:16:41 UTC