Satisfiability Modulo Heap-Based Programs

Quang Loc Le, Jun Sun, Wei-Ngan Chin

Abstract

In this work, we present a semi-decision procedure for a fragment of separation logic with user-defined predicates and Presburger arithmetic. To check the satisfiability of a formula, our procedure iteratively unfolds the formula and examines the derived disjuncts. In each iteration, it searches for a proof of either satisfiability or unsatisfiability. Our procedure is further enhanced with automatically inferred invariants as well as detection of cyclic proof. We also identify a syntactically restricted fragment of the logic for which our procedure is terminating and thus complete. This decidable fragment is relatively expressive as it can capture a range of sophisticated data structures with non-trivial pure properties, such as size, sortedness and near-balanced. We have implemented the proposed solver and a new system for verifying heap-based programs. We have evaluated our system on benchmark programs from a software verification competition.
BibTeX
@inproceedings{le2016satisfiability,
  author = {Quang Loc Le and Jun Sun and Wei-Ngan Chin},
  title = {{Satisfiability Modulo Heap-Based Programs}},
  booktitle = {CAV},
  year = {2016},
  doi = {10.1007/978-3-319-41528-4\_21},
}

Loading related content...

Figure