Publication Details
Verification of Heap Manipulating Programs with Ordered Data by Extended Forest Automata
Holík Lukáš, doc. Mgr., Ph.D. (DITS FIT BUT)
Jonsson Bengt (Uppsala)
Lengál Ondřej, Ing., Ph.D. (DITS FIT BUT)
Trinh Quy Cong, MSc. (Uppsala)
Vojnar Tomáš, prof. Ing., Ph.D. (DITS FIT BUT)
forest automata, shape analysis, dynamic linked data structures,tree automata, abstraction
We present a general framework for verifying programs with complex dynamic linked data structures whose correctness depends on ordering relations between stored data values. Our framework is based on the notion of forest automata (FA) previously developed for verification of heap-manipulating programs. We extend FA by constraints between data elements associated with nodes of the heaps represented by FA, and we propose necessary modifications of all the operations needed for a use of the extended FA in a fully-automated verification approach, based on abstract interpretation. We have implemented our approach as an extension of the Forester tool, and applied it to a number of programs dealing with data structures such as various forms of singly- and doubly-linked lists, binary search trees, as well as skip lists. The experiments show that our approach is not only fully automated, rather general, but also quite efficient.
@INPROCEEDINGS{FITPUB10385, author = "A. Parosh Abdulla and Luk\'{a}\v{s} Hol\'{i}k and Bengt Jonsson and Ond\v{r}ej Leng\'{a}l and Cong Quy Trinh and Tom\'{a}\v{s} Vojnar", title = "Verification of Heap Manipulating Programs with Ordered Data by Extended Forest Automata", pages = "224--239", booktitle = "Proceedings of ATVA'13", year = 2013, location = "Heidelberg, DE", publisher = "Springer Verlag", ISBN = "978-3-319-02443-1", language = "english", url = "https://www.fit.vut.cz/research/publication/10385" }