Skip to main navigation Skip to search Skip to main content

Postconditioned symbolic execution

  • Qiuping Yi
  • , Zijiang Yang
  • , Shengjian Guo
  • , Chao Wang
  • , Jian Liu
  • , Chen Zhao
  • CAS - Institute of Software
  • University of Chinese Academy of Sciences
  • Virginia Polytechnic Institute and State University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

30 Scopus citations

Abstract

Symbolic execution is emerging as a powerful technique for generating test inputs systematically to achieve exhaustive path coverage of a bounded depth. However, its practical use is often limited by path explosion because the number of paths of a program can be exponential in the number of branch conditions encountered during the execution. To mitigate the path explosion problem, we propose a new redundancy removal method called postconditioned symbolic execution. At each branching location, in addition to determine whether a particular branch is feasible as in traditional symbolic execution, our approach checks whether the branch is subsumed by previous explorations. This is enabled by summarizing previously explored paths by weakest precondition computations. Postconditioned symbolic execution can identify path suffixes shared by multiple runs and eliminate them during test generation when they are redundant. Pruning away such redundant paths can lead to a potentially exponential reduction in the number of explored paths. We have implemented our method in the symbolic execution engine KLEE and conducted experiments on a large set programs from the GNU Coreutils suite. Our results confirm that redundancy due to common path suffix is both abundant and widespread in real- world applications.

Original languageEnglish
Title of host publication2015 IEEE 8th International Conference on Software Testing, Verification and Validation, ICST 2015 - Proceedings
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9781479971251
DOIs
StatePublished - 5 May 2015
Event8th IEEE International Conference on Software Testing, Verification and Validation, ICST 2015 - Graz, Austria
Duration: 13 Apr 201517 Apr 2015

Publication series

Name2015 IEEE 8th International Conference on Software Testing, Verification and Validation, ICST 2015 - Proceedings

Conference

Conference8th IEEE International Conference on Software Testing, Verification and Validation, ICST 2015
Country/TerritoryAustria
CityGraz
Period13/04/1517/04/15

Fingerprint

Dive into the research topics of 'Postconditioned symbolic execution'. Together they form a unique fingerprint.

Cite this