English

Fully Automated Shape Analysis Based on Forest Automata

Logic in Computer Science 2013-04-23 v1 Formal Languages and Automata Theory

Abstract

Forest automata (FA) have recently been proposed as a tool for shape analysis of complex heap structures. FA encode sets of tree decompositions of heap graphs in the form of tuples of tree automata. In order to allow for representing complex heap graphs, the notion of FA allowed one to provide user-defined FA (called boxes) that encode repetitive graph patterns of shape graphs to be used as alphabet symbols of other, higher-level FA. In this paper, we propose a novel technique of automatically learning the FA to be used as boxes that avoids the need of providing them manually. Further, we propose a significant improvement of the automata abstraction used in the analysis. The result is an efficient, fully-automated analysis that can handle even as complex data structures as skip lists, with the performance comparable to state-of-the-art fully-automated tools based on separation logic, which, however, specialise in dealing with linked lists only.

Keywords

Cite

@article{arxiv.1304.5806,
  title  = {Fully Automated Shape Analysis Based on Forest Automata},
  author = {Lukas Holik and Ondrej Lengal and Adam Rogalewicz and Jiri Simacek and Tomas Vojnar},
  journal= {arXiv preprint arXiv:1304.5806},
  year   = {2013}
}

Comments

Accepted to CAV'13

R2 v1 2026-06-22T00:03:50.415Z