Compositional may-must program analysis: Unleashing the power of alternation

118Citations
Citations of this article
88Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Program analysis tools typically compute two types of information: (1) may information that is true of all program executions and is used to prove the absence of bugs in the program, and (2) must information that is true of some program executions and is used to prove the existence of bugs in the program. In this paper, we propose a new algorithm, dubbed SMASH, which computes both may and must information compositionally . At each procedure boundary, may and must information is represented and stored as may and must summaries, respectively. Those summaries are computed in a demand driven manner and possibly using summaries of the opposite type. We have implemented SMASH using predicate abstraction (as in SLAM) for the may part and using dynamic test generation (as in DART) for the must part. Results of experiments with 69 Microsoft Windows 7 device drivers show that SMASH can significantly outperform may-only, must-only and non-compositional may-must algorithms. Indeed, our empirical results indicate that most complex code fragments in large programs are actually often either easy to prove irrelevant to the specific property of interest using may analysis or easy to traverse using directed testing. The fine-grained coupling and alternation of may (universal) and must (existential) summaries allows SMASH to easily navigate through these code fragments while traditional may-only, must-only or non-compositional may-must algorithms are stuck in their specific analyses. Copyright © 2010 ACM.

References Powered by Scopus

Lazy abstraction

847Citations
130Readers
Get full text

Interpolation and SAT-based model checking

639Citations
125Readers

This article is free to access.

EXE: Automatically generating inputs of death

599Citations
360Readers
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Godefroid, P., Nori, A. V., Rajamani, S. K., & Tetali, S. D. (2010). Compositional may-must program analysis: Unleashing the power of alternation. In Conference Record of the Annual ACM Symposium on Principles of Programming Languages (pp. 43–55). https://doi.org/10.1145/1706299.1706307

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 52

71%

Researcher 13

18%

Professor / Associate Prof. 8

11%

Readers' Discipline

Tooltip

Computer Science 76

95%

Engineering 2

3%

Philosophy 1

1%

Decision Sciences 1

1%

Save time finding and organizing research with Mendeley

Sign up for free