首页> 外文会议>International Colloquium on Theoretical Aspects of Computing >Scope Logic: An Extension to Hoare Logic for Pointers and Recursive Data Structures
【24h】

Scope Logic: An Extension to Hoare Logic for Pointers and Recursive Data Structures

机译:范围逻辑:用于指向指针和递归数据结构的逻辑的扩展

获取原文
获取外文期刊封面目录资料

摘要

This paper presents an extension to Hoare Logic for pointer program verification. The main observation leading to this logic is that the value of an expression e depends only on the contents stored in a finite set of memory units. This set can be specified using another expression (called the memory scope of e) constructed syntactically from e. A set of construction rules are given in this paper for expressions which may contain recursive functions (predicates). It is also observed that the memory scope of e is a super set of the memory scope of the memory scope of e. Based on this, local reasoning can be supported using assertion variables which represent arbitrary assertions. Program-pointspecific expressions are used to specify the relations between different program points. Another feature of this logic is that for formulas with no user-defined functions, the weakest-preconditions can be calculated w.r.t. assignments.
机译:本文介绍了对指针程序验证的逻辑的扩展。导致该逻辑的主要观察是表达式E的值仅取决于存储在有限一组内存单元中的内容。可以使用从e语法构造的另一表达式(称为e)的另一表达式(称为e)指定该组。本文给出了一组建筑规则,用于可能包含递归函数(谓词)的表达式。还观察到E的存储器范围是E的存储器范围的超级集。基于此,可以使用代表任意断言的断言变量来支持本地推理。程序段特异性表达式用于指定不同程序点之间的关系。此逻辑的另一个特征是,对于没有用户定义函数的公式,可以计算最弱的前提条件W.r.t.作业。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号