首页> 外文会议>European Symposium on Programming >Proof-Directed De-compilation of Low-Level Code
【24h】

Proof-Directed De-compilation of Low-Level Code

机译:校正定向的低级代码的解汇

获取原文

摘要

We present a proof theoretical method for de-compiling low-level code to the typed lambda calculus. We first define a proof system for a low-level code language based on the idea of Curry-Howard isomorphism. This allows us to regard an executable code as a proof in intuitionistic propositional logic. As being a proof of intuitionistic logic, it can be translated to an equivalent proof of natural deduction proof system. This property yields an algorithm to translate a given code into a lambda term. Moreover, the resulting lambda term is not a trivial encoding of a sequence of primitive instructions, but reflects the behavior of the given program. This process therefore serves as proof-directed de-compilation of a low-level code language to a high-level language. We carry out this development for a subset of Java Virtual Machine instructions including most of its features such as jumps, object creation and method invocation. The proof-directed de-compilation algorithm has been implemented, which demonstrates the feasibility of our approach.
机译:我们展示了将低级别代码的证明理论方法,以键入的Lambda微积分。我们首先根据咖喱霍华德同构的想法定义一个低级代码语言的证明系统。这允许我们将可执行代码视为直觉命题逻辑中的证据。作为直觉逻辑的证据,它可以转化为自然扣除系统的等效证明。此属性会产生一种将给定代码转换为lambda项的算法。此外,所得到的Lambda项不是一种基本指令序列的琐碎编码,而是反映给定程序的行为。因此,该过程用作对高级语言的低级代码语言的证明替代。我们对Java虚拟机指令的子集进行此开发,包括其大部分功能,例如跳转,对象创建和方法调用等功能。证明定向的去编译算法已经实施,这展示了我们方法的可行性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号