Bibliographic Details
| Title: |
Model checking recursive programs interacting via the heap. |
| Authors: |
Asăvoae, I.M.1 mariuca.asavoae@info.uaic.ro, de Boer, F.2,3 frb@cwi.nl, Bonsangue, M.M.2,3 marcello@liacs.nl, Lucanu, D.1 dlucanu@info.uaic.ro, Rot, J.2,3 jrot@liacs.nl |
| Source: |
Science of Computer Programming. Mar2015, Vol. 100, p61-83. 23p. |
| Subjects: |
Recursive programming, Imperative programming, Programming languages, Mathematical bounds, Object-oriented programming |
| Abstract: |
Almost all modern imperative programming languages include operations for dynamically manipulating the heap, for example by allocating and deallocating objects, and by updating reference fields. In the presence of recursive procedures and local variables, the interactions of a program with the heap can become rather complex, as an unbounded number of objects can be allocated either on the call stack using local variables, or, anonymously, on the heap using reference fields. As such, a static analysis for recursive programs with dynamic manipulation of the heap is, in general, undecidable. In this paper we study the verification of recursive programs with unbounded allocation of objects, in a simple imperative language with heap manipulation. We present a semantics for this language which is improved w.r.t. heap allocation, using an abstraction that is precise (i.e., bisimilar with the standard/concrete semantics). For any program with a bounded visible heap, meaning that the number of objects reachable from variables at any point of execution is bounded, this abstraction is a finitary representation of its behaviour, even though an unbounded number of objects can appear in the state. As a consequence, for such programs model checking is decidable. Finally, we introduce a specification language for heap-properties, and we discuss model checking of heap invariant properties against heap-manipulating programs. [ABSTRACT FROM AUTHOR] |
|
Copyright of Science of Computer Programming is the property of Elsevier B.V. and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) |
| Database: |
Engineering Source |