...
首页> 外文期刊>Science of Computer Programming >A logic for information flow analysis with an application to forward slicing of simple imperative programs
【24h】

A logic for information flow analysis with an application to forward slicing of simple imperative programs

机译:信息流分析的逻辑,以及用于简单命令程序的正向切片的应用程序

获取原文
获取原文并翻译 | 示例
           

摘要

We specify an information flow analysis for a simple imperative language, using a Hoare-like logic. The logic facilitates static checking of a larger class of programs than can be checked by extant type-based approaches in which a program is deemed insecure when it contains an insecure subprogram. The logic is based on an abstract interpretation of a "prelude" semantics which makes independence between program variables explicit. Unlike other, more precise, approaches based on Hoare logics, our approach does not require a theorem prover to generate invariants. We demonstrate the modularity of our approach by showing that a frame rule holds in our logic. Finally, we show how our logic can be applied to a program transformation, namely, forward slicing: given a derivation of a program in the logic, with the information that variable l is independent of variable h, the slicing transformation systematically creates the forward l-slice of the program; the slice contains all the commands independent of h. We show that the slicing transformation is semantics preserving.
机译:我们使用类似Hoare的逻辑为简单的命令式语言指定信息流分析。与现有的基于类型的方法所检查的逻辑相比,该逻辑便于对更大类别的程序进行静态检查,在现有的基于类型的方法中,当程序包含不安全的子程序时,该程序被视为不安全。该逻辑基于对“前奏”语义的抽象解释,这使程序变量之间的独立性变得明确。与其他基于Hoare逻辑的更精确方法不同,我们的方法不需要定理证明者即可生成不变量。我们通过证明框架规则在我们的逻辑中得到证明,证明了我们方法的模块化。最后,我们展示了如何将我们的逻辑应用于程序转换,即正向切片:给定逻辑中的某个程序派生,并根据变量l与变量h无关的信息,切片转换系统地创建了正向l -程序片段;切片包含独立于h的所有命令。我们表明切片转换是语义保留。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号