En:
Lect. Notes Comput. Sci. 2011;6605 LNCS:65-80
Fecha:
2011
Formato:
application/pdf
Tipo de documento:
info:eu-repo/semantics/article
info:ar-repo/semantics/artículo
info:eu-repo/semantics/publishedVersion
Descripción:
The theory of dynamic frames is a promising approach to handle the so-called framing problem, that is, giving a precise characterizations of the locations in the heap that a procedure may modify. In this paper, we show that the machinery used for dynamic frames may be exploited even further. In particular, we use it to check that implementations of abstract data types maintain certain structural invariants that are very hard to express with usual means, including being acyclic (like non-circular linked lists and trees) and having a unique path between nodes (like in a tree). The idea is that regions in this formalism over-approximate the set of reachable objects. We can then maintain this structural invariants by including special preconditions in assignments, of the kind that can be verified by state-of-the-art SMT-based tools. To test this approach we modified the verifier for the Dafny programming language in a suitable way and were able to enforce these invariants in non-trivial examples. © 2011 Springer-Verlag.
Fil:Garbervetsky, D. Universidad de Buenos Aires. Facultad de Ciencias Exactas y Naturales; Argentina.
Fil:Gorín, D. Universidad de Buenos Aires. Facultad de Ciencias Exactas y Naturales; Argentina.
Derechos:
info:eu-repo/semantics/openAccess
http://creativecommons.org/licenses/by/2.5/ar

Descargar texto: paper_03029743_v6605LNCS_n_p65_Garbervetsky.oai (tamaño kb)

Cita bibliográfica:

Garbervetsky, D. (2011). Enforcing structural invariants using dynamic frames  (info:eu-repo/semantics/article).  [consultado:  ] Disponible en el Repositorio Digital Institucional de la Universidad de Buenos Aires:  <http://repositoriouba.sisbi.uba.ar/gsdl/cgi-bin/library.cgi?a=d&c=artiaex&cl=CL1&d=paper_03029743_v6605LNCS_n_p65_Garbervetsky_oai>