Title
Deriving specialized program analyses for certifying component-client conformance
Abstract
We are concerned with the problem of statically certifying (verifying) whether the client of a software component conforms to the component's constraints for correct usage. We show how conformance certification can be efficiently carried out in a staged fashion for certain classes of first-order safety (FOS) specifications, which can express relationship requirements among potentially unbounded collections of runtime objects. In the first stage of the certification process, we systematically derive an abstraction that is used to model the component state during analysis of arbitrary clients. In general, the derived abstraction will utilize first-order predicates, rather than the propositions often used by model checkers. In the second stage, the generated abstraction is incorporated into a static analysis engine to produce a certifier. In the final stage, the resulting certifier is applied to a client to conservatively determine whether the client violates the component's constraints. Unlike verification approaches that analyze a specification and client code together, our technique can take advantage of computationally-intensive symbolic techniques during the abstraction generation phase, without affecting the performance of client analysis. Using as a running example the Concurrent Modification Problem (CMP), which arises when certain classes defined by the Java Collections Framework are misused, we describe several different classes of certifiers with varying time/space/precision tradeoffs. Of particular note are precise, polynomial-time, flow- and context-sensitive certifiers for certain classes of FOS specifications and client programs. Finally, we evaluate a prototype implementation of a certifier for CMP on a variety of test programs. The results of the evaluation show that our approach, though conservative, yields very few "false alarms," with acceptable performance.
Year
DOI
Venue
2002
10.1145/512529.512540
PLDI '02 Proceedings of the ACM SIGPLAN 2002 Conference on Programming language design and implementation
Keywords
Field
DocType
software components,polynomial time,software component,static analysis,first order,model checking
Model checking,Abstraction,Programming language,Predicate abstraction,Java collections framework,Abstract interpretation,Computer science,Static analysis,Real-time computing,Program analysis,Component-based software engineering
Conference
Volume
Issue
ISSN
37
5
0362-1340
ISBN
Citations 
PageRank 
1-58113-463-0
34
1.81
References 
Authors
24
5
Name
Order
Citations
PageRank
G. Ramalingam11654130.81
Alex Varshavsky268566.07
John Field3764.92
Deepak Goyal41418.90
Mooly Sagiv53403236.93