Benchmarking Symbolic Execution Using Constraint Problems -- Initial Results

22 Jan 2020  ·  Sahil Verma, Roland H. C. Yap ·

Symbolic execution is a powerful technique for bug finding and program testing. It is successful in finding bugs in real-world code. The core reasoning techniques use constraint solving, path exploration, and search, which are also the same techniques used in solving combinatorial problems, e.g., finite-domain constraint satisfaction problems (CSPs). We propose CSP instances as more challenging benchmarks to evaluate the effectiveness of the core techniques in symbolic execution. We transform CSP benchmarks into C programs suitable for testing the reasoning capabilities of symbolic execution tools. From a single CSP P, we transform P depending on transformation choice into different C programs. Preliminary testing with the KLEE, Tracer-X, and LLBMC tools show substantial runtime differences from transformation and solver choice. Our C benchmarks are effective in showing the limitations of existing symbolic execution tools. The motivation for this work is we believe that benchmarks of this form can spur the development and engineering of improved core reasoning in symbolic execution engines.

PDF Abstract
No code implementations yet. Submit your code now

Categories


Software Engineering Logic in Computer Science I.2.0; I.2.1; I.2.3; I.2.4; I.2.8; I.2.11; D.2

Datasets


  Add Datasets introduced or used in this paper