arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2106.02179cs.SE
收藏

使用测试深度划分的分布式符号执行

Distributed Symbolic Execution using Test-Depth Partitioning

Shikhar Singh, Sarfraz Khurshid

摘要:

符号执行是一种经典的系统错误发现技术,近年来已经有了很多应用,但仍然难以扩展。最近的工作介绍了范围内的符号执行分配不同的工人之间的符号执行任务,最小的通信开销使用测试输入。然而,每个工人被限制只能执行深度优先搜索。本文介绍了一种新的测距方法,称为测试深度分区,它允许工人采用不同的搜索策略,而不损害整体搜索的完整性。实验结果表明,该方法为分布式符号执行提供了一种更灵活的测距解决方案。测试深度分区背后的核心思想是使用测试深度对来定义执行空间中的区域。这样的对表示部分路径或前缀,并且它消除了如在先前测距方案中的情况那样对确定边界的完整测试的需要。此外,不同的工作者可以自由地选择所选择的搜索策略,而不影响整个系统的功能。测试深度划分是使用KLEE,一个著名的符号执行工具。初步结果表明,该方案可以证明是一个有效的工具,以加快符号执行。

英文摘要:

Symbolic execution is a classic technique for systematic bug finding, which has seen many applications in recent years but remains hard to scale. Recent work introduced ranged symbolic execution to distribute the symbolic execution task among different workers with minimal communication overhead using test inputs. However, each worker was restricted to perform only a depth-first search. This paper introduces a new approach to ranging, called test-depth partitioning, that allows the workers to employ different search strategies without compromising the completeness of the overall search. Experimental results show that the proposed approach provides a more flexible ranging solution for distributed symbolic execution. The core idea behind test-depth partitioning is to use a test-depth pair to define a region in the execution space. Such a pair represents a partial path or a prefix, and it obviates the need for complete tests to determine boundaries as was the case in the previous ranging scheme. Moreover, different workers have the freedom to select the search strategy of choice without affecting the functioning of the overall system. Test-depth partitioning is implemented using KLEE, a well-known symbolic execution tool. The preliminary results show that the proposed scheme can prove to be an efficient tool to speed up symbolic execution.

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

↑