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

基于程序变换的符号计算

Symbolic Computation via Program Transformation

Henrich Lauko, Petr Ročkai, Jiří Barnat

摘要:

符号计算是自动化程序分析的一种重要方法。大多数最先进的工具作为解释器执行符号计算,并直接维护符号数据。在本文中,我们表明,它是可行的,实际上是实用的,而不是使用基于编译器的策略。使用编译器工具,我们提出并实现了一个转换,需要一个标准的程序,并输出一个程序,执行语义等价,但部分符号,计算。转换后的程序在内部维护符号值,并直接对它们进行操作,因此程序可以由工具处理,而不支持符号操作。转换的主要动机是符号验证,但也有许多其他可能的用例,包括测试生成和concolic测试。此外,由于符号计算由程序直接处理,因此使用变换简化了工具。我们已经在LLVM位代码级别实现了转换。本文包括一个实验评估,基于显式状态的软件模型检查器作为验证后端。

英文摘要:

Symbolic computation is an important approach in automated program analysis. Most state-of-the-art tools perform symbolic computation as interpreters and directly maintain symbolic data. In this paper, we show that it is feasible, and in fact practical, to use a compiler-based strategy instead. Using compiler tooling, we propose and implement a transformation which takes a standard program and outputs a program that performs semantically equivalent, but partially symbolic, computation. The transformed program maintains symbolic values internally and operates directly on them hence the program can be processed by a tool without support for symbolic manipulation. The main motivation for the transformation is in symbolic verification, but there are many other possible use-cases, including test generation and concolic testing. Moreover using the transformation simplifies tools, since the symbolic computation is handled by the program directly. We have implemented the transformation at the level of LLVM bitcode. The paper includes an experimental evaluation, based on an explicit-state software model checker as a verification backend.

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

↑