Decidable logics combining heap structures and data


Madhusudan, P., Parlato, Gennaro and Qiu, Xiaokang (2011) Decidable logics combining heap structures and data. In, POPL, Austin, TX, USA, 26 - 28 Jan 2011. ACM, 611-622.

Download

[img] PDF - Accepted Version
Download (553Kb)

Description/Abstract

We define a new logic, STRAND, that allows reasoning with heap-manipulating programs using deductive verification and SMT solvers. STRAND logic (“STRucture ANd Data” logic) formulas express constraints involving heap structures and the data they contain; they are defined over a class of pointer-structures R defined using MSO-defined relations over trees, and are of the form ∃x∀y.φ(x, y), where φ is a monadic second-order logic (MSO) formula with additional quantification that combines structural constraints as well as data-constraints, but where the data-constraints are only allowed to refer to x and y. The salient aspects of the logic are: (a) the logic is powerful, allowing existential and universal quantification over the nodes, and complex combinations of data and structural constraints; (b) checking Hoare-triples for linear blocks of statements with pre-conditions and post-conditions expressed as Boolean combinations of existential and universal STRAND formulas reduces to satisfiability of a STRAND formula; (c) there are powerful decidable fragments of STRAND, one semantically defined and one syntactically defined, where the decision procedure works by combining the theory of MSO over trees and the quantifier-free theory of the underlying data-logic. We demonstrate the effectiveness and practicality of the logic by checking verification conditions generated in proving properties of several heap-manipulating programs, using a tool that combines an MSO decision procedure over trees (MONA) with an SMT solver for integer constraints (Z3).

Item Type: Conference or Workshop Item (Paper)
Additional Information: Event Dates: January 26-28, 2011
ISBNs: 9781450304900
Keywords: heap analysis, SMT solvers, monadic second-order logic, combining decision procedures, automata, decidability
Divisions: Faculty of Physical and Applied Science > Electronics and Computer Science > Electronic & Software Systems
Item ID: 272448
Date Deposited: 13 Jun 2011 12:51
Last Modified: 02 Mar 2012 12:42
Contributors: Madhusudan, P. (Author)
Parlato, Gennaro (Author)
Qiu, Xiaokang (Author)
Date: 2011
Additional Information: Event Dates: January 26-28, 2011
Status: Published
Publisher: ACM
Further Information:Google Scholar
ISI Citation Count:2
URI: http://eprints.soton.ac.uk/id/eprint/272448

Actions (login required)

View Item View Item