Symbolic execution of floating-point programs: How far are we?

Guofeng Zhang,Zhenbang Chen,Ziqi Shuai
DOI: https://doi.org/10.1109/apsec57359.2022.00030
IF: 3.5
2024-10-31
Journal of Systems and Software
Abstract:Floating-point programs are challenging for symbolic execution due to the constraint solving problem. This paper empirically studies five existing symbolic execution methods for floating-point programs to evaluate their effectiveness and limitations. We have implemented the existing methods based on the state-of-the-art symbolic execution tool KLEE and constructed a real-world floating-point program benchmark for evaluation. We evaluate the existing methods with respect to statement coverage and the ability to detect floating-point exceptions. The results demonstrate that the existing methods complement each other. Based on the evaluation results, we propose a synergistic approach to improving the efficiency of the symbolic execution for floating-point programs. The experimental results indicate our synergistic method's effectiveness in finding floating-point exceptions.
computer science, theory & methods, software engineering
What problem does this paper attempt to address?