Publication | Closed Access
Predicate abstraction of Java programs with collections
11
Citations
28
References
2012
Year
Unknown Venue
Program CheckingEngineeringVerificationSoftware EngineeringSoftware AnalysisFormal VerificationJava ProgramsGeneric ProgrammingFormal TechniquePredicate AbstractionFormal SpecificationRuntime VerificationAbstract InterpretationComputer ScienceSoftware VerificationDeclarative ProgrammingProgram AnalysisAutomated ReasoningFormal MethodsJava Collections
Our goal is to develop precise and scalable verification techniques for Java programs that use collections and properties that depend on their content. We apply the popular approach of predicate abstraction to Java programs and collections. The main challenge in this context is precise and compact modeling of collections that enables practical verification. We define a predicate language for modeling the observable state of Java collections at the interface level. Changes of the state by API methods are captured by weakest preconditions. We adapt existing techniques for construction of abstract programs. Most notably, we designed optimizations based on specific features of the predicate language. We evaluated our approach on Java programs that use collections in advanced ways. Our results show that interesting properties, such as consistency between multiple collections, can be verified using our approach. The properties are specified using logic formulas that involve predicates introduced by our language.
| Year | Citations | |
|---|---|---|
Page 1
Page 1