pith. sign in

arxiv: 1607.06927 · v1 · pith:VR7M5AYEnew · submitted 2016-07-23 · 💻 cs.PL

Sound Static Deadlock Analysis for C/Pthreads (Extended Version)

classification 💻 cs.PL
keywords analysisdeadlockprogramsapproachdeadlock-freedommethodprovepthreads
0
0 comments X
read the original abstract

We present a static deadlock analysis approach for C/pthreads. The design of our method has been guided by the requirement to analyse real-world code. Our approach is sound (i.e., misses no deadlocks) for programs that have defined behaviour according to the C standard, and precise enough to prove deadlock-freedom for a large number of programs. The method consists of a pipeline of several analyses that build on a new context- and thread-sensitive abstract interpretation framework. We further present a lightweight dependency analysis to identify statements relevant to deadlock analysis and thus speed up the overall analysis. In our experimental evaluation, we succeeded to prove deadlock-freedom for 262 programs from the Debian GNU/Linux distribution with in total 2.6 MLOC in less than 11 hours.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.