A Non-repetitive Logic for Verification of Dynamic Memory with Explicit Heap Conjunction and Disjunction

05/30/2019
by   René Haberland, et al.
0

In this paper, we review existing points-to Separation Logics for dynamic memory reasoning and we find that different usages of heap separation tend to be an obstacle. Hence, two total and strict spatial heap operations are proposed upon heap graphs, for conjunction and disjunction -- similar to logical conjuncts. Heap conjunction implies that there exists a free heap vertex to connect to or an explicit destination vertex is provided. Essentially, Burstall's properties do not change. By heap we refer to an arbitrary simple directed graph, which is finite and may contain composite vertices representing class objects. Arbitrary heap memory access is restricted, as well as type punning, late class binding and further restrictions. Properties of the new logic are investigated, and as a result group properties are shown. Both expecting and superficial heaps are specifiable. Equivalence transformations may make denotated heaps inconsistent, although those may be detected and patched by the two generic linear canonization steps presented. The properties help to motivate a later full introduction of a set of equivalences over heap for future work. Partial heaps are considered as a useful specification technique that help to reduce incompleteness issues with specifications. Finally, the logic proposed may be considered for extension for the Object Constraint Language.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/29/2019

Abstract I/O Specification

We recently proposed an approach for the specification and modular forma...
research
06/26/2019

A Stricter Heap Separating Points-To Logic

Dynamic memory issues are hard to locate and may cost much of a developm...
research
10/11/2019

Internal Calculi for Separation Logics

We present a general approach to axiomatise separation logics with heapl...
research
10/22/2019

Review of Recent Techniques on Heap Specification and Verification

This review article provides an overview of recent approaches and techni...
research
12/07/2020

Separation and Equivalence results for the Crash-stop and Crash-recovery Shared Memory Models

Linearizability, the traditional correctness condition for concurrent da...
research
07/05/2023

Expressiveness Results for an Inductive Logic of Separated Relations

In this paper we study a Separation Logic of Relations (SLR) and compare...

Please sign up or login with your details

Forgot password? Click here to reset