pith. sign in

arxiv: 1907.09700 · v1 · pith:SXNWFKHEnew · submitted 2019-07-23 · 💻 cs.SE

Enhancing Dynamic Symbolic Execution by Automatically Learning Search Heuristics

classification 💻 cs.SE
keywords searchexecutionheuristicssymbolicdynamicheuristicautomaticallycoverage
0
0 comments X p. Extension
pith:SXNWFKHE Add to your LaTeX paper What is a Pith Number?
\usepackage{pith}
\pithnumber{SXNWFKHE}

Prints a linked pith:SXNWFKHE badge after your title and writes the identifier into PDF metadata. Compiles on arXiv with no extra files. Learn more

read the original abstract

We present a technique to automatically generate search heuristics for dynamic symbolic execution. A key challenge in dynamic symbolic execution is how to effectively explore the program's execution paths to achieve high code coverage in a limited time budget. Dynamic symbolic execution employs a search heuristic to address this challenge, which favors exploring particular types of paths that are most likely to maximize the final coverage. However, manually designing a good search heuristic is nontrivial and typically ends up with suboptimal and unstable outcomes. The goal of this paper is to overcome this shortcoming of dynamic symbolic execution by automatically learning search heuristics. We define a class of search heuristics, namely a parametric search heuristic, and present an algorithm that efficiently finds an optimal heuristic for each subject program. Experimental results with industrial-strength symbolic execution tools (e.g., KLEE) show that our technique can successfully generate search heuristics that significantly outperform existing manually-crafted heuristics in terms of branch coverage and bug-finding.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.