作者
Robert DeLine, Manuel Fähndrich
发表日期
2004/6/14
图书
European Conference on Object-Oriented Programming
页码范围
465-490
出版商
Springer Berlin Heidelberg
简介
Today’s mainstream object-oriented compilers and tools do not support declaring and statically checking simple pre- and postconditions on methods and invariants on object representations. The main technical problem preventing static verification is reasoning about the sharing relationships among objects as well as where object invariants should hold. We have developed a programming model of typestates for objects with a sound modular checking algorithm. The programming model handles typical aspects of object-oriented programs such as down-casting, virtual dispatch, direct calls, and subclassing. The model also permits subclasses to extend the interpretation of typestates and to introduce additional typestates. We handle aliasing by adapting our previous work on practical linear types developed in the context of the Vault system. We have implemented these ideas in a tool called Fugue for …
引用总数
200420052006200720082009201020112012201320142015201620172018201920202021202220232024714152426232427171820911105111212865
学术搜索中的文章
R DeLine, M Fähndrich - European Conference on Object-Oriented …, 2004