Result Details

Static Deadlock Detection in Low-Level C Code

HARMIM, D.; MARCIN, V.; SVOBODOVÁ, L.; VOJNAR, T. Static Deadlock Detection in Low-Level C Code. In International Conference on Computer Aided Systems Theory (EUROCAST'22). Lecture Notes in Computer Science. Cham: Springer Nature Switzerland AG, 2023. p. 267-276. ISBN: 978-3-031-25311-9.
Type
conference paper
Language
English
Authors
Harmim Dominik, Ing., DITS (FIT)
Marcin Vladimír, Ing.
Svobodová Lucie, Ing.
Vojnar Tomáš, prof. Ing., Ph.D., DITS (FIT)
Abstract

We present a novel scalable deadlock analyser L2D2 capable of handling C code with low-level unstructured lock manipulation. L2D2 runs along the call tree of a program, starting from its leaves, and analyses each function just once, without any knowledge of the call context. L2D2 builds function summaries recording information about locks that are assumed or known to be locked or unlocked at the entry, inside, and at the exit of functions, together with lock dependencies, and reports warnings about possible deadlocks when cycles in the lock dependencies are detected. We implemented L2D2 as a plugin of the Facebook/Meta Infer framework and report results of experiments on a large body of C as well as C++ code illustrating the effectiveness and efficiency of L2D2.

Keywords

static analysis, abstract interpretation, function summaries, modular analysis, concurrent code, deadlock, Infer

URL
Published
2023
Pages
267–276
Proceedings
International Conference on Computer Aided Systems Theory (EUROCAST'22)
Series
Lecture Notes in Computer Science
Volume
13789
Conference
Eurocast 2022 -- 18th International Conference on Computer Aided Systems Theory
ISBN
978-3-031-25311-9
Publisher
Springer Nature Switzerland AG
Place
Cham
DOI
EID Scopus
BibTeX
@inproceedings{BUT187815,
  author="Dominik {Harmim} and Vladimír {Marcin} and Lucie {Svobodová} and Tomáš {Vojnar}",
  title="Static Deadlock Detection in Low-Level C Code",
  booktitle="International Conference on Computer Aided Systems Theory (EUROCAST'22)",
  year="2023",
  series="Lecture Notes in Computer Science",
  volume="13789",
  pages="267--276",
  publisher="Springer Nature Switzerland AG",
  address="Cham",
  doi="10.1007/978-3-031-25312-6\{_}31",
  isbn="978-3-031-25311-9",
  url="https://link.springer.com/chapter/10.1007/978-3-031-25312-6_31"
}
Projects
Scalable Techniques for Analysis of Complex Properties of Computer Systems, GACR, Standardní projekty, GA20-07487S, start: 2020-01-01, end: 2022-12-31, completed
Spolehlivé, bezpečné a efektivní počítačové systémy, BUT, Vnitřní projekty VUT, FIT-S-20-6427, start: 2020-03-01, end: 2023-02-28, completed
Research groups
Departments
Back to top