On Flat Programs with ListsReport as inadecuate




On Flat Programs with Lists - Download this document for free, or read online. Document in PDF available to download.

1 VERIMAG - IMAG - VERIMAG

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.

Keywords : shape analysis program analysis single-linked lists flat programs





Author: Marius Bozga - Radu Iosif -

Source: https://hal.archives-ouvertes.fr/



DOWNLOAD PDF




Related documents