pith. sign in

arxiv: 1810.12190 · v1 · pith:Q3ZVSJEMnew · submitted 2018-10-29 · 💻 cs.PL

To Memory Safety through Proofs

classification 💻 cs.PL
keywords systemtypestatefulthenviewsmemorypointerrecursive
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.