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

可变角色的概念及其在软件分析中的应用

On the Concept of Variable Roles and its Use in Software Analysis

Yulia Demyanova, Helmut Veith, Florian Zuleger

摘要:

人类编写的命令式程序设计语言的源代码表现出典型的模式变量使用,如标志,循环迭代器,计数器,索引,位向量等,虽然它被广泛理解的从业者,这些变量的角色是重要的自动化软件分析工具,他们没有系统地研究正式的方法社区,并没有很好地记录在研究文献中。本文以C语言中的基本类型(int,float,char)为例,研究了变量角色的概念。我们提出了一个分类的变量在一个程序中的变量的角色,并表明,经典的数据流分析本身自然既作为规范的形式主义和分析范式,这个分类问题。我们通过预测源文件的不同类别的软件验证竞争SVCOMP 2013年的成员证明了我们的方法的实用性。

英文摘要:

Human written source code in imperative programming languages exhibits typical patterns for variable use such as flags, loop iterators, counters, indices, bitvectors etc. Although it is widely understood by practitioners that these variable roles are important for automated software analysis tools, they are not systematically studied by the formal methods community, and not well documented in the research literature. In this paper, we study the notion of variable roles on the example of basic types (int, float, char) in C. We propose a classification of the variables in a program by variable roles, and demonstrate that classical data flow analysis lends itself naturally both as a specification formalism and an analysis paradigm for this classification problem. We demonstrate the practical applicability of our method by predicting membership of source files to the different categories of the software verification competition SVCOMP 2013.

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

↑