To Memory Safety through Proofs

10/29/2018
by   Hongwei Xi, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/13/2021

Circular Proofs as Processes: Type-Based Termination via Arithmetic Refinements

Type systems for concurrent programs guarantee such desirable properties...
research
09/14/2017

Structural Resolution for Abstract Compilation of Object-Oriented Languages

We propose abstract compilation for precise static type analysis of obje...
research
01/21/2014

Domain Views for Constraint Programming

Views are a standard abstraction in constraint programming: They make it...
research
10/01/2019

Extraction of Efficient Programs in IΣ_1-arithmetic

Clausal Language (CL) is a declarative programming and verifying system ...
research
06/22/2019

Mixed Linear and Non-linear Recursive Types

We describe a type system with mixed linear and non-linear recursive typ...
research
11/21/2022

Completeness Thresholds for Memory Safety: Early Preliminary Report

In this early preliminary report on an ongoing project, we present – to ...
research
05/05/2023

Completeness Thresholds for Memory Safety of Array Traversing Programs

We report on intermediate results of – to the best of our knowledge – th...

Please sign up or login with your details

Forgot password? Click here to reset