2016 · 38 citations · 29 references
ComputingComputer ScienceDesign AutomationProgramming LanguagesSoftware EngineeringMobile Application DevelopmentModel-driven Software EngineeringSoftware DesignSoftware ModelingSymbolic ExecutionType SystemsDesign PatternsModel-to-code GenerationProgramming Model DesignSymbolic AnalysisSymbolic Execution EnginesType Theory
Symbolic execution is a powerful program analysis technique, but it is difficult to apply to programs built using frameworks such as Swing and Android, because the framework code itself is hard to symbolically execute. The standard solution is to manually create a framework model that can be symbolically executed, but developing and maintaining a model is difficult and error-prone. In this paper, we present Pasket, a new system that takes a first step toward automatically generating Java framework models to support symbolic execution. Pasket's focus is on creating models by instantiating design patterns. Pasket takes as input class, method, and type information from the framework API, together with tutorial programs that exercise the framework. From these artifacts and Pasket's internal knowledge of design patterns, Pasket synthesizes a framework model whose behavior on the tutorial programs matches that of the original framework. We evaluated Pasket by synthesizing models for subsets of Swing and Android. Our results show that the models derived by Pasket are sufficient to allow us to use off-the-shelf symbolic execution tools to analyze Java programs that rely on frameworks.
29
Oracle-guided component-based program synthesis
Susmit Jha, Sumit Gulwani, Sanjit A. Seshia et al. · 2010 · 479 citations
Synthesis of loop-free programs
Sumit Gulwani, Susmit Jha, Ashish Tiwari et al. · ACM SIGPLAN Notices · 2011 · 242 citations
Armando Solar-Lezama · International Journal on Software Tools for Technology Transfer · 2012 · 229 citations