域类型:基于变量使用选择抽象
Domain Types: Selecting Abstractions Based on Variable Usage
摘要:
软件模型检验的成功依赖于找到主题程序的适当抽象。抽象域和分析配置的选择目前留给用户,他们可能不熟悉可用抽象域的权衡和性能细节。我们引入域类型的概念,将程序变量分类为比标准声明类型(如int或long)更细粒度的类型,以指导模型检查器选择适当的抽象域。我们的实现在预处理步骤中确定每个变量的域类型,根据程序中的变量使用情况,然后将每个变量分配给一个抽象域。我们使用的模型检查框架支持为每个抽象域指定单独的分析精度,这样我们就可以自由地配置分析。我们的实验表明,每个变量的抽象域的选择的显着影响。我们考虑一个显式(整数值的哈希表)和一个符号(二元决策图)域。实验是基于标准的验证任务,从最近的软件验证比赛。每个抽象域在表示某个域类型的变量的状态空间方面具有独特的优势。我们的实验表明,软件模型检查器可以改善与域类型的指导组合的抽象域。
英文摘要:
The success of software model checking depends on finding an appropriate abstraction of the subject program. The choice of the abstract domain and the analysis configuration is currently left to the user, who may not be familiar with the tradeoffs and performance details of the available abstract domains. We introduce the concept of domain types, which classify the program variables into types that are more fine-grained than standard declared types, such as int or long, in order to guide the selection of an appropriate abstract domain for a model checker. Our implementation determines the domain type for each variable in a pre-processing step, based on the variable usage in the program, and then assigns each variable to an abstract domain. The model-checking framework that we use supports to specify a separate analysis precision for each abstract domain, such that we can freely configure the analysis. We experimentally demonstrate a significant impact of the choice of the abstract domain per variable. We consider one explicit (hash tables for integer values) and one symbolic (binary decision diagrams) domain. The experiments are based on standard verification tasks that are taken from recent competitions on software verification. Each abstract domain has unique advantages in representing the state space of variables of a certain domain type. Our experiments show that software model checkers can be improved with a domain-type guided combination of abstract domains.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。