首页> 外文会议>International Workshop on Verification Model Checking, and Abstract Interpretation >Generalized Typestate Checking for Data Structure Consistency
【24h】

Generalized Typestate Checking for Data Structure Consistency

机译:概括的Typestate检查数据结构一致性

获取原文

摘要

We present an analysis to verify abstract set specifications for programs that use object field values to determine the membership of objects in abstract sets. In our approach, each module may encapsulate several data structures and use membership in abstract sets to characterize how objects participate in its data structures. Each module's specification uses set algebra formulas to charac-terize the effects of its operations on the abstract sets. The program may define abstract set membership in a variety of ways; arbitrary analyses (potentially with multiple analyses applied to different modules in the same program) may verify the corresponding set specifications. The analysis we present in this paper verifies set specifications by constructing and verifying set algebra formulas whose validity implies the validity of the set specifications. We have implemented our analysis and annotated several programs (75-2500 lines of code) with set specifications. We found that our original analysis algorithm did not scale; this paper describes several optimizations that improve the scalability of our analysis. It also presents experimental data comparing the original and optimized versions of our analysis.
机译:我们提供了一个分析,验证了使用对象字段值的程序的抽象集规范,以确定抽象集中对象的成员身份。在我们的方法中,每个模块可以封装多个数据结构并在抽象集中使用成员资格,以表征对象如何参与其数据结构。每个模块的规范都使用集成代数公式来charac-terize在抽象集上的操作的影响。该计划可以以各种方式定义抽象集合成员资格;任意分析(可能具有应用于同一程序中不同模块的多个分析)可以验证相应的集规范。我们在本文中存在的分析验证了通过构造和验证集合惯例的有效性意味着集规范的有效性的集合规范来验证设置规范。我们已经实施了我们的分析和注释了具有设置规范的多个程序(75-2500行代码)。我们发现我们的原始分析算法没有规模;本文介绍了几种优化,提高了我们分析的可扩展性。它还提出了比较我们分析的原始和优化版本的实验数据。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号