Sciweavers

LICS
2005
IEEE

Certifying Compilation for a Language with Stack Allocation

13 years 10 months ago
Certifying Compilation for a Language with Stack Allocation
This paper describes an assembly-language type system capable of ensuring memory safety in the presence of both heap and stack allocation. The type system uses linear logic and a set of domain-specific predicates to specify invariants about the shape of the store. Part of the model for our logic is a tree of “stack tags” that tracks the evolution of the stack over time. To demonstrate the expressiveness of the type system, we define Micro-CLI, a simple imperative language that captures the essence of stack allocation in the Common Language Infrastructure. We show how to compile welltyped Micro-CLI into well-typed assembly.
Limin Jia, Frances Spalding, David Walker, Neal Gl
Added 25 Jun 2010
Updated 25 Jun 2010
Type Conference
Year 2005
Where LICS
Authors Limin Jia, Frances Spalding, David Walker, Neal Glew
Comments (0)