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

通过证明实现内存安全

To Memory Safety through Proofs

Hongwei Xi, Dengping Zhu

摘要:

我们提出了一个类型系统能够保证内存安全的程序,可能涉及(复杂的)指针操作,如指针算术。它的根在最近开发的框架应用类型系统(ATS),类型系统通过递归有状态视图的新概念对程序状态施加了一个抽象级别,然后依赖于线性逻辑的形式来推理这种有状态视图。我们认为设计,然后形式化的类型系统,构成的主要贡献的文件。此外,我们还提到了类型系统的运行实现,然后给出了一些例子,以支持递归有状态视图编程的实用性。

英文摘要:

We present a type system capable of guaranteeing the memory safety of programs that may involve (sophisticated) pointer manipulation such as pointer arithmetic. With its root in a recently developed framework Applied Type System (ATS), the type system imposes a level of abstraction on program states through a novel notion of recursive stateful views and then relies on a form of linear logic to reason about such stateful views. We consider the design and then the formalization of the type system to constitute the primary contribution of the paper. In addition, we also mention a running implementation of the type system and then give some examples in support of the practicality of programming with recursive stateful views.

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

↑