On Logics of Aliasing - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2004

On Logics of Aliasing

Marius Bozga
Radu Iosif
  • Fonction : Auteur
  • PersonId : 840083
Yassine Lakhnech
  • Fonction : Auteur
  • PersonId : 837979

Résumé

In this paper we investigate the existence of a deductive verification method based on a logic that describes pointer aliasing. The main idea of such a method is that the user has to annotate the program with loop invariants, pre- and post-conditions. The annotations are then automatically checked for validity by propagating weakest preconditions and verifying a number of induced implications. Such a method requires an underlying logic which is decidable and has a sound and complete weakest precondition calculus. We start by presenting a powerful logic ({\bf wAL}) which can describe the shapes of most recursively defined data structures (lists, trees, etc.) has a complete weakest precondition calculus but is undecidable. Next, we identify a decidable subset ({\bf pAL}) for which we show closure under the weakest precondition operators. In the latter logic one loses the ability of describing unbounded heap structures, yet bounded structures can be characterized up to isomorphism. For this logic two sound and complete proof systems are given, one based on natural deduction, and another based on the effective method of analytic tableaux. The two logics presented in this paper can be seen as extreme values in a framework which attempts to reconcile the naturally oposite goals of expressiveness and decidability.
Fichier principal
Vignette du fichier
sas04.pdf (323.24 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00369338 , version 1 (19-03-2009)

Identifiants

Citer

Marius Bozga, Radu Iosif, Yassine Lakhnech. On Logics of Aliasing. Static Analysis 11th International Symposium, SAS 2004, Aug 2004, Verona, Italy. pp.344-360, ⟨10.1007/b99688⟩. ⟨hal-00369338⟩
130 Consultations
143 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More