kirancodes.me
To Proof Maintenance & Beyond!

Compositional Symbolic Execution with Memoized Replay

Rui Qiu, Guowei Yang, Corina S. Pasareanu, Sarfraz Khurshid

Abstract

Symbolic execution is a powerful, systematic analysis that has received much visibility in the last decade. Scalability however remains a major challenge for symbolic execution. Compositional analysis is a well-known general purpose methodology for increasing scalability. This paper introduces a new approach for compositional symbolic execution. Our key insight is that we can summarize each analyzed method as a memoization tree that captures the crucial elements of symbolic execution, and leverage these memoization trees to efficiently replay the symbolic execution of the corresponding methods with respect to their calling contexts. Memoization trees offer a natural way to compose in the presence of heap operations, which cannot be dealt with by previous work that uses logical formulas as summaries for compositional symbolic execution. Our approach also enables efficient target oriented symbolic execution for error detection or program coverage. Initial experimental evaluation based on a prototype implementation in Symbolic Path Finder shows that our approach can be up to an order of magnitude faster than traditional non-compositional symbolic execution.

BibTeX
@inproceedings{Qiu-al:ICSE15,
  author    = {Rui Qiu and
               Guowei Yang and
               Corina S. Pasareanu and
               Sarfraz Khurshid},
  title     = {Compositional Symbolic Execution with Memoized Replay},
  booktitle = {ICSE (Part I)},
  pages     = {632--642},
  publisher = {{IEEE} Computer Society},
  year      = {2015},
}

Related papers