Share on Facebook Tweet on Twitter Share on LinkedIn Share by email
Thread-Modular Shape Analysis

Alexey Gotsman, Josh Berdine, Byron Cook, and Mooly Sagiv

Abstract

We present the first shape analysis for multithreaded programs that avoids the explicit enumeration of execution-interleavings. Our approach is to automatically infer a resource invariant associated with each lock that describes the part of the heap protected by the lock. This allows us to use a sequential shape analysis on each thread. We show that resource invariants of a certain class can be characterized as least fixed points and computed via repeated applications of shape analysis only on each individual thread. Based on this approach, we have implemented a thread-modular shape analysis tool and applied it to concurrent heap-manipulating code from Windows device drivers.

Details

Publication typeInproceedings
Published inProceedings of the ACM SIGPLAN 2007 Conference on Programming Language Design and Implementation, San Diego, California, USA, June 10-13, 2007
Pages266-277
ISBN978-1-59593-633-2
PublisherACM
> Publications > Thread-Modular Shape Analysis