A Type System for Reachability and Acyclicity
A Type System for Reachability and Acyclicity
复制标题
可达性和非循环性的类型系统
DOI:
--
复制
发表时间:
2005
期刊:
影响因子:
--
通讯作者:
John Michael Potter
中科院分区:
文献类型:
--
作者:
Yi Lu;John Michael Potter
The desire for compile-time knowledge about the structure of heap contexts is currently increasing in many areas. However, approaches using whole program analysis are too weak in terms of both efficiency and accuracy. This paper presents a novel type system that enforces programmer-defined constraints on reachability via references or pointers, and restricts reference cycles to be within definable parts of the heap. Such constraints can be useful for program understanding and reasoning about effects and invariants, for information flow security, and for run-time optimizations and memory management.