Propositional reasoning about safety and termination of heap-manipulating programs
From MaRDI portal
Abstract: This paper shows that it is possible to reason about the safety and termination of programs handling potentially cyclic, singly-linked lists using propositional reasoning even when the safety invariants and termination arguments depend on constraints over the lengths of lists. For this purpose, we propose the theory SLH of singly-linked lists with length, which is able to capture non-trivial interactions between shape and arithmetic. When using the theory of bit-vector arithmetic as a background, SLH is efficiently decidable via a reduction to SAT. We show the utility of SLH for software verification by using it to express safety invariants and termination arguments for programs manipulating potentially cyclic, singly-linked lists with unrestricted, unspecified sharing. We also provide an implementation of the decision procedure and use it to check safety and termination proofs for several heap-manipulating programs.
Recommendations
Cited in
(6)- Cyclic proofs of program termination in separation logic
- Towards Model-Checking Programs with Lists
- Accurate invariant checking for programs manipulating lists and arrays with infinite data
- Verifying properties of well-founded linked lists
- On Flat Programs with Lists
- Proving Termination of C Programs with Lists
This page was built for publication: Propositional reasoning about safety and termination of heap-manipulating programs
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2802460)