arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.16827cs.SEcs.LO
收藏

堆操作程序的路径最优符号执行

Path-optimal symbolic execution of heap-manipulating programs

University of Milano-Bicocca(米兰比可卡大学)

Pietro Braione, Giovanni Denaro, Luca Guglielmo

AI总结:

本文提出POSE算法,通过实现堆操作程序的路径最优性,提升符号执行效率。

摘要:

符号执行是许多程序分析和测试生成技术的核心。传统上,对具有数值输入的程序进行符号执行具有路径分裂的性质,即分析轨迹的数量与分析的程序路径数量相同,这一性质在本文中称为路径最优性。相反,当前对堆操作程序进行符号执行的方法无法满足这一性质,从而导致关键的路径爆炸效应。本文介绍了POSE,即路径最优符号执行,一种原本针对堆操作程序实现路径最优性的符号执行算法。我们正式化了POSE算法,并在支持数据结构作为输入的基准程序上实验了该算法,支持了POSE在改进堆操作程序符号执行状态的潜力。

英文摘要:

Symbolic execution is at the core of many techniques for program analysis and test generation. Traditional symbolic execution of programs with numeric inputs enjoys the property of forking as many analysis traces as the number of analyzed program paths, a property that in this paper we refer to as path optimality. On the contrary, current approaches for symbolic execution of heap-manipulating programs fail to satisfy this property, thereby incurring crucial path explosion effects. This paper introduces POSE, path-optimal symbolic execution, a symbolic execution algorithm that originally achieves path optimality against heap-manipulating programs. We formalize the POSE algorithm and experiment it against a benchmark of programs that take data structures as inputs, supporting the potential of POSE for improving on the state of the art of symbolic execution of heap-manipulating programs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑