Strategies for scalable symbolic execution-driven test generation for programs

Saparya Krishnamoorthy, Michael S. Hsiao, Loganathan Lingappan
2011 Science China Information Sciences  
With the advent of advanced program analysis and constraint solving techniques, several test generation tools use variants of symbolic execution. Symbolic techniques have been shown to be very effective in path-based test generation; however, they fail to scale to large programs due to the exponential number of paths to be explored. In this paper, we focus on tackling this path explosion problem and propose search strategies to achieve quick branch coverage under symbolic execution, while
more » ... ing only a fraction of paths in the program. We present a reachability-guided strategy that makes use of the reachability graph of the program to explore unvisited portions of the program and a conflict-driven backtracking strategy that utilizes conflict analysis to perform nonchronological backtracking. We present experimental evidence that these strategies can significantly reduce the search space and improve the speed of test generation for programs.
doi:10.1007/s11432-011-4368-7 fatcat:ul63q3h23jejdi272h7zvso67m