Low-Level Bi-Abduction

05/05/2022
by   Lukas Holik, et al.
0

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.

READ FULL TEXT

page 12

page 16

page 17

page 24

page 30

page 36

page 38

page 39

research
09/12/2022

Type checking data structures more complex than trees

Graphs are a generalized concept that encompasses more complex data stru...
research
07/05/2022

Static Deadlock Detection in Low-Level C Code

We present a novel scalable deadlock analyser L2D2 capable of handling C...
research
01/16/2023

A separation logic for sequences in pointer programs and its decidability

Separation logic and its variants can describe various properties on poi...
research
06/18/2020

Bi-Abduction for Shapes with Ordered Data

Shape analysis is of great importance for the verification of the correc...
research
07/12/2023

Sound One-Phase Shape Analysis with Biabduction

Biabduction-based shape analysis is a static analysis technique that can...
research
06/14/2016

Why is Compiling Lifted Inference into a Low-Level Language so Effective?

First-order knowledge compilation techniques have proven efficient for l...

Please sign up or login with your details

Forgot password? Click here to reset