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

压缩符号执行

Compact Symbolic Execution

Jiří Slabý, Jan Strejček, Marek Trtík

摘要:

我们提出了一个概括的国王的符号执行技术,称为紧凑的符号执行。它分两步进行。首先,我们分析循环路径中的控制流图的一个给定的程序,独立于其余的程序。我们的目标是为每一个这样的循环路径计算一个所谓的模板。模板是对所有可能的程序状态的声明性参数描述,这些状态可能在沿着它进行任何次数的迭代之后离开所分析的循环路径。在第二步中,我们用手头的模板象征性地执行程序。结果是一个紧凑的符号执行树。紧凑树的所有叶子总是携带与相应的经典符号执行树相同的信息。然而,紧凑树通常比相应的经典树小得多。甚至有些程序的紧凑符号执行树是有限的,而经典符号执行树是无限的。

英文摘要:

We present a generalisation of King's symbolic execution technique called compact symbolic execution. It proceeds in two steps. First, we analyse cyclic paths in the control flow graph of a given program, independently from the rest of the program. Our goal is to compute a so called template for each such a cyclic path. A template is a declarative parametric description of all possible program states, which may leave the analysed cyclic path after any number of iterations along it. In the second step, we execute the program symbolically with the templates in hand. The result is a compact symbolic execution tree. A compact tree always carry the same information in all its leaves as the corresponding classic symbolic execution tree. Nevertheless, a compact tree is typically substantially smaller than the corresponding classic tree. There are even programs for which compact symbolic execution trees are finite while classic symbolic execution trees are infinite.

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

↑