Holík, L., Peringer, P., Rogalewicz, A., Šoková, V., Vojnar, T., & Zuleger, F. (2022). Low-Level Bi-Abduction. In 36th European Conference on Object-Oriented Programming (ECOOP 2022) (pp. 1–30). Schloss Dagstuhl - Leibniz-Zentrum für Informatik. https://doi.org/10.4230/LIPIcs.ECOOP.2022.19
E192 - Institut für Logic and Computation E192-04 - Forschungsbereich Formal Methods in Systems Engineering
-
Published in:
36th European Conference on Object-Oriented Programming (ECOOP 2022)
-
ISBN:
9783959772259
-
Volume:
222
-
Date (published):
23-Jun-2022
-
Event name:
36th European Conference on Object-Oriented Programming (ECOOP 2022)
en
Event date:
6-Jun-2022 - 10-Jun-2022
-
Event place:
Berlin, Germany
-
Number of Pages:
30
-
Publisher:
Schloss Dagstuhl - Leibniz-Zentrum für Informatik, Dagstuhl
-
Peer reviewed:
Yes
-
Keywords:
bi-abduction; low-level pointer operations; programs with dynamic linked data structures; programs with pointers; separation logic; shape analysis; static analysis
en
Abstract:
The paper proposes a new static analysis designed to handle open programs, i.e., fragments of programs, with dynamic pointer-linked data structures - in particular, various kinds of lists - that employ advanced low-level pointer operations. The goal is to allow such programs be analysed without a need of writing analysis harnesses that would first initialise the structures being handled. The approach builds on a special flavour of separation logic and the approach of bi-abduction. The code of interest is analyzed along the call tree, starting from its leaves, with each function analysed just once without any call context, leading to a set of contracts summarizing the behaviour of the analysed functions. In order to handle the considered programs, methods of abduction existing in the literature are significantly modified and extended in the paper. The proposed approach has been implemented in a tool prototype and successfully evaluated on not large but complex programs.