𝔖 Bobbio Scriptorium
✦   LIBER   ✦

Class invariants as abstract interpretation of trace semantics

✍ Scribed by Francesco Logozzo


Publisher
Elsevier Science
Year
2009
Tongue
English
Weight
531 KB
Volume
35
Category
Article
ISSN
1477-8424

No coin nor oath required. For personal study only.

✦ Synopsis


We present a generic framework for the automatic and modular inference of sound class invariants for class-based object-oriented languages. We define a trace-based semantics for classes which considers all possible orderings, with all possible arguments, of invocations of all the methods of a class. We prove a correspondence theorem between such a semantics and a generic, trace-based, semantics for complete object-oriented programs.

We express state-based class invariants in a fixpoint form by considering an abstraction of the class semantics, and we show how class invariants can be automatically inferred exploiting a static analysis of the methods. Furthermore, we address the problem of inferring a subclass invariant without accessing to the parent code, but just to its invariant.


πŸ“œ SIMILAR VOLUMES


Parsing as abstract interpretation of gr
✍ Patrick Cousot; Radhia Cousot πŸ“‚ Article πŸ“… 2003 πŸ› Elsevier Science 🌐 English βš– 153 KB

Earley's parsing algorithm is shown to be an abstract interpretation of a reΓΏnement of the derivation semantics of context-free grammars.

ChemInform Abstract: Chloropyrimidines a
✍ Nidhi Agarwal; Pratibha Srivastava; Sandeep K. Raghuwanshi; D. N. Upadhyay; Sudh πŸ“‚ Article πŸ“… 2010 πŸ› John Wiley and Sons βš– 24 KB πŸ‘ 2 views

## Abstract ChemInform is a weekly Abstracting Service, delivering concise information at a glance that was extracted from about 100 leading journals. To access a ChemInform Abstract of an article which was published elsewhere, please select a β€œFull Text” option. The original article is trackable v