On Flat Programs with Lists - Archive ouverte HAL Access content directly
Conference Papers Year : 2007

On Flat Programs with Lists

Marius Bozga
Radu Iosif
  • Function : Author
  • PersonId : 840083

Abstract

In this paper we analyze the complexity of checking safety and termination properties, for a very simple, yet non-trivial, class of programs with singly-linked list data structures. Since, in general, programs with lists are known to have the power of Turing machines, we restrict the control structure, by forbidding nested loops and destructive updates. Surprisingly, even with these simplifying conditions, verifying safety and termination for programs working on heaps with more than one cycle are undecidable, whereas decidability can be established when the input heap may have at most one loop. The proofs for both the undecidability and the decidability results rely on non-trivial number-theoretic results.
Fichier principal
Vignette du fichier
vmcai2007.pdf (118.44 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-00361205 , version 1 (13-02-2009)

Identifiers

  • HAL Id : hal-00361205 , version 1

Cite

Marius Bozga, Radu Iosif. On Flat Programs with Lists. Verification, Model Checking, and Abstract Interpretation 8th International Conference, VMCAI 2007, Jan 2007, Nice, France. pp.122-136. ⟨hal-00361205⟩
214 View
40 Download

Share

Gmail Facebook X LinkedIn More