【24h】

Separation Logic for Non-local Control Flow and Block Scope Variables

机译:非本地控制流和块范围变量的分离逻辑

获取原文

摘要

We present an approach for handling non-local control flow (goto and return statements) in the presence of allocation and deallocation of block scope variables in imperative programming languages. We define a small step operational semantics and an axiomatic semantics (in the form of a separation logic) for a small C-like language that combines these two features, and which also supports pointers to block scope variables. Our operational semantics represents the program state through a generalization of Huet's zipper data structure. We prove soundness of our axiomatic semantics with respect to our operational semantics. This proof has been fully formalized in Coq.
机译:我们提出了一种在命令式编程语言中在存在块作用域变量的分配和释放的情况下处理非本地控制流(goto和return语句)的方法。我们为类似C的小型语言定义了一个小步骤的操作语义和公理语义(以分离逻辑的形式),该语言结合了这两个功能,并且还支持指向块范围变量的指针。我们的操作语义通过对Huet的zipper数据结构的概括来表示程序状态。我们证明了相对于操作语义而言公理化语义的合理性。此证明已在Coq中完全正式化。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号