Shape Analysis via Second-Order Bi-Abduction
Authors: Quang Loc Le, Cristian Gherghina, Shengchao Qin and Wei-Ngan Chin
Paper Information
| Title: | Shape Analysis via Second-Order Bi-Abduction |
| Authors: | Quang Loc Le, Cristian Gherghina, Shengchao Qin and Wei-Ngan Chin |
| Proceedings: | CAV 2014 LNCS Proceedings |
| Editors: | Armin Biere, Swen Jacobs and Roderick Bloem |
| Keywords: | shape analysis, separation logic, Bi-Abduction, program verification |
| Abstract: | ABSTRACT. We present a new modular shape analysis that can synthesize heap memory specification on a per method basis. We rely on a second-order bi-abduction mechanism that can give interpretations to unknown shape predicates. There are several novel features in our shape analysis. Firstly, it is grounded on second-order bi-abduction. Secondly, we distinguish unknown pre-predicates in pre-conditions, from unknown post-predicates in post-condition; since the former may be strengthened, while the latter may be weakened. Thirdly, we provide a new heap guard mechanism to support more precise preconditions for heap specification. Lastly, we formalise a set of derivation and normalization rules to give concise definitions for unknown predicates. Our approach has been proven sound and is implemented on top of an existing automated verification system. We show its versatility in synthesizing a wide range of intricate shape specifications. |
| Pages: | 17 |
| Talk: | Jul 19 11:45 |
| Paper: | ![]() |
