ACM Home Page
Please provide us with feedback. Feedback
Thread-modular shape analysis
Full text PdfPdf (299 KB)
Source
Conference on Programming Language Design and Implementation archive
Proceedings of the 2007 ACM SIGPLAN conference on Programming language design and implementation table of contents
San Diego, California, USA
SESSION: Pointers analyzed table of contents
Pages: 266 - 277  
Year of Publication: 2007
ISBN:978-1-59593-633-2
Also published in ...
Authors
Alexey Gotsman  University of Cambridge, Cambridge, United Kngdm
Josh Berdine  Microsoft Research, Cambridge, United Kngdm
Byron Cook  Microsoft Research, Cambridge, United Kngdm
Mooly Sagiv  Tel-Aviv University, Tel-Aviv, United Kngdm
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 6,   Downloads (12 Months): 74,   Citation Count: 3
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1250734.1250765
What is a DOI?

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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
J. Berdine, C. Calcagno, and P. O'Hearn. Symbolic execution with separation logic. In APLAS'05: Asian Symposium on Programming Languages and Systems, volume 3780 of LNCS, pages 52--68. Springer, 2005.
2
3
 
4
C. Calcagno, D. Distefano, P. W. O'Hearn, and H. Yang. Beyond reachability: Shape abstraction in the presence of pointer arithmetic. In SAS'06: Static Analysis Simposium, volume 4134 of em LNCS, pages 182--203. Springer, 2006.
5
6
7
 
8
P. Cousot and R. Cousot. Abstract interpretation frameworks. Journal of Logic and Computation, 2(4):511--547, 1992.
 
9
D. Distefano, P. W. O'Hearn, and H. Yang. A local shape analysis based on separation logic. In TACAS'06: Tools and Algorithms for Analysis and Construction of Systems, volume 3920 of LNCS, pages 287--302. Springer, 2006.
10
 
11
C. Flanagan and S. Qadeer. Thread-modular model checking. In SPIN'03: Workshop on Model Checking Software, volume 2648 of LNCS, pages 213--224. Springer, 2003.
 
12
A. Gotsman, J. Berdine, and B. Cook. Interprocedural shape analysis with separated heap abstractions. In SAS'06: Static Analysis Symposium, volume 4134 of LNCS, pages 240--260. Springer, 2006.
 
13
A. Gotsman, N. Rinetzky, J. Berdine, B. Cook, D. Distefano, P. W. O'Hearn, M. Sagiv, and H. Yang. Abstract interpretation with state separation. In preparation, 2007.
14
 
15
TLev-Ami. Personal communication. 2006.
 
16
T. Lev-Ami, N. Immerman, and M. Sagiv. Abstraction for shape analysis with fast and precise transformers. In CAV'06: Computer Aided Verification, volume 4144 of LNCS, pages 547--561. Springer, 2006.
17
18
 
19
P. W. O'Hearn. Resources, concurrency and local reasoning. In CONCUR'04: International Conference on Concurrency Theory, volume 3170 of LNCS, pages 49--67. Springer, 2004.
20
 
21
22
 
23
 
24
N. Rinetzky, M. Sagiv, and E. Yahav. Interprocedural shape analysis for cutpoint-free programs. In SAS'05: Static Analysis Symposium, volume 3672 of LNCS, pages 284--302. Springer, 2005.
25
26
 
27


Collaborative Colleagues:
Alexey Gotsman: colleagues
Josh Berdine: colleagues
Byron Cook: colleagues
Mooly Sagiv: colleagues