arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1205.4951cs.SE
收藏

推测性符号执行

Speculative Symbolic Execution

Yufeng Zhang, Zhenbang Chen, Ji Wang

摘要:

符号执行是一种有效的面向路径和基于约束的程序分析技术。近年来,符号执行的研究和应用有了很大的发展.然而,符号执行在实践中仍然存在可扩展性问题,特别是当应用于大规模或非常复杂的程序时。本文提出了一种新的符号执行方式,称为推测符号执行(SSE),通过减少约束求解器的调用次数来加快符号执行速度。在SSE中,当遇到分支语句时,搜索过程可能会推测性地探索分支而不考虑可行性。仅当推测分支累积到指定数量时,才会调用约束求解器。此外,我们提出了一个关键的优化技术,大大提高SSE。我们已经实现了SSE和优化技术的符号路径(SPF)。六个程序的实验结果表明,我们的方法可以将约束求解器的调用次数减少21%到49%(平均30%),并节省搜索时间23.6%到43.6%(平均30%)。

英文摘要:

Symbolic execution is an effective path oriented and constraint based program analysis technique. Recently, there is a significant development in the research and application of symbolic execution. However, symbolic execution still suffers from the scalability problem in practice, especially when applied to large-scale or very complex programs. In this paper, we propose a new fashion of symbolic execution, named Speculative Symbolic Execution (SSE), to speed up symbolic execution by reducing the invocation times of constraint solver. In SSE, when encountering a branch statement, the search procedure may speculatively explore the branch without regard to the feasibility. Constraint solver is invoked only when the speculated branches are accumulated to a specified number. In addition, we present a key optimization technique that enhances SSE greatly. We have implemented SSE and the optimization technique on Symbolic Pathfinder (SPF). Experimental results on six programs show that, our method can reduce the invocation times of constraint solver by 21% to 49% (with an average of 30%), and save the search time from 23.6% to 43.6% (with an average of 30%).

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

↑