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

路径可行性实证研究

An Empirical Study of Path Feasibility Queries

Asankhaya Sharma

摘要:

在本文中,我们提出了一个比较研究的路径探索过程中产生的路径可行性查询的软件工程方法。基于符号执行的方法在软件工程的不同方面,例如证明程序的属性,测试用例生成,比较程序的不同执行,都越来越重要。这些方法使用SMT求解器来检查路径可行性查询的可满足性,该路径可行性查询在所支持的理论中被写成公式。我们研究的性能,解决这种路径的可行性查询使用SMT求解器为现实世界的节目。我们的路径条件公式是在无量词位向量数组理论(QF_ABV)中生成的。我们发现,在不同的SMT求解器,STP是优于Z3的数量级,这样的查询。作为一个应用,我们设计了一个新的程序分析(变化值分析)基于我们的研究,利用程序中的未定义行为。我们在LLVM中实现了我们的分析,并使用SIR程序的基准测试了它。它将解决路径可行性查询的时间减少了48%。该研究可以作为指导实践者使用路径可行性查询,以创建基于符号执行的可扩展软件工程方法。

英文摘要:

In this paper we present a comparative study of path feasibility queries generated during path exploration based software engineering methods. Symbolic execution based methods are gaining importance in different aspects of software engineering e.g. proving properties about programs, test case generation, comparing different executions of programs. These methods use SMT solvers to check the satisfiability of path feasibility queries written as a formula in the supported theories. We study the performance of solving such path feasibility queries using SMT solvers for real world programs. Our path condition formulas are generated in a theory of quantifier free bit vectors with arrays (QF_ABV). We show that among the different SMT solvers, STP is better than Z3 by an order of magnitude for such kind of queries. As an application we design a new program analysis (Change Value Analysis) based on our study which exploits undefined behaviors in programs. We have implemented our analysis in LLVM and tested it with the benchmark of SIR programs. It reduces the time taken for solving path feasibility queries by 48%. The study can serve as guidance to practitioners using path feasibility queries to create scalable software engineering methods based on symbolic execution.

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

↑