2015
DOI: 10.1007/978-3-662-46669-8_27
|View full text |Cite
|
Sign up to set email alerts
|

Propositional Reasoning about Safety and Termination of Heap-Manipulating Programs

Abstract: Abstract. This paper shows that it is possible to reason about the safety and termination of programs handling potentially cyclic, singlylinked 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 … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1

Citation Types

0
8
0

Year Published

2018
2018
2023
2023

Publication Types

Select...
2
1

Relationship

0
3

Authors

Journals

citations
Cited by 3 publications
(8 citation statements)
references
References 19 publications
(18 reference statements)
0
8
0
Order By: Relevance
“…We now show that the sets of test formulae Test(q, α) are sufficient to capture the expressive power of SL( * , reach + ) (as shown below, Theorem 4.10) and deduce the small heap property of this logic (Theorem 4.11). We introduce an indistinguishability relation ≈ q α between memory states based on test formulae, see analogous relations in [14,16,25]. , then the two memory states cannot be distinguished by formulae whose syntactic resources are bounded in some way by q and α (details will follow, see the definition for msize(φ)).…”
Section: Expressive Power and Small Model Propertymentioning
confidence: 99%
See 3 more Smart Citations
“…We now show that the sets of test formulae Test(q, α) are sufficient to capture the expressive power of SL( * , reach + ) (as shown below, Theorem 4.10) and deduce the small heap property of this logic (Theorem 4.11). We introduce an indistinguishability relation ≈ q α between memory states based on test formulae, see analogous relations in [14,16,25]. , then the two memory states cannot be distinguished by formulae whose syntactic resources are bounded in some way by q and α (details will follow, see the definition for msize(φ)).…”
Section: Expressive Power and Small Model Propertymentioning
confidence: 99%
“…This means that there is a memory state It is now possible to establish a small heap property of SL( * , reach + ) by inheriting it from the small heap property for Boolean combinations of test formulae, which is analogous to the small model property for other theories of singly linked lists, see e.g. [14,31]. Indeed, following Lemma 4.7, now it is straightforward to derive an upper bound on the size of a small model satisfying a formula in SL( * , reach + ).…”
Section: (P1)mentioning
confidence: 99%
See 2 more Smart Citations
“…Besides, allowing quantifications is another direction to extend the symbolic heap fragment: in [4], an extension of the symbolic heap fragment with quantification over locations and over arithmetic variables for list lengths is introduced and several fragments are shown decidable (the whole extension is undecidable). Such an extension combines shape and arithmetic specifications (see also [14] for a theory of singly-linked lists with length combining such features) and the decidability results are obtained by using so-called symbolic shape graphs that are finite representations of sets of heaps. In the current paper, we consider only shape analysis (since herein, the heaps are restricted to a single record field) but the separating implication is admitted.…”
Section: :2mentioning
confidence: 99%