首页> 外文学位 >Typed machine language.
【24h】

Typed machine language.

机译:键入机器语言。

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

摘要

With high-speed networks, mobile code applications have become common. One of the important considerations for users (code consumers) of such applications is the guarantee that the downloaded programs are safe. Proof-carrying code is one of the frameworks that allow code consumers to independently verify the safety of untrusted code.; For any such framework to be usable, however, significant trust must be placed in the correctness of that framework itself. The Proof-Carrying Code (PCC) project at Princeton addresses this issue, and aims to build a foundational PCC system that has a trusted component of a very small size. This system consists of a certifying compiler that generates the executable code, and a safety prover that generates the proof of the safety of this code.; The certifying compiler also generates hints that help the prover in generating the safety proof. These hints are in the form of a typed assembly language program that corresponds to the output object-code program. Therefore, while the hints are specified as high-level type annotations, the prover must prove the safety of machine-level programs that operate on memory and register banks.; In this thesis, I present Typed Machine Language (TML), which is used to bridge this gap. TML is a calculus of type operators that can express constructs in high-level languages like core ML at a sufficiently low level to correspond directly to the concrete realisations of these type constructs at the machine level. These operators are expressive enough to be able to allow provably safe optimisations like array-bounds-check eliminations and sum-type discriminations. I shall first present a semantic model for these operators, and typing rules based on them. This model is then used to provide models for assembly-level instructions. The typing rules, along with the instruction models provide an interface which allows typed assembly languages to be type checked without exposing the complex underlying semantic model.; Finally, I shall present a proof technique that shows how the typability of the typed assembly languages can be connected to the safety of corresponding machine-level programs using the foundational semantic models for types and instructions provided by TML.
机译:随着高速网络的发展,移动代码应用已变得普遍。对于此类应用程序的用户(代码使用者),重要考虑因素之一是确保下载的程序安全。带有证明的代码是允许代码使用者独立验证不受信任代码安全性的框架之一。但是,要使任何这样的框架都可以使用,必须在该框架本身的正确性中给予极大的信任。普林斯顿大学的校对代码(PCC)项目解决了这个问题,旨在建立一个基础的PCC系统,该系统具有非常小的可信任组件。该系统由生成可执行代码的认证编译器和生成该代码安全性证明的安全证明者组成。认证编译器还会生成提示,以帮助证明者生成安全证明。这些提示采用与输出目标代码程序相对应的类型化汇编语言程序的形式。因此,当提示被指定为高级类型注释时,证明者必须证明在存储器和寄存器组上运行的机器级程序的安全性。在这篇论文中,我提出了类型化机器语言(TypeL),它被用来弥合这种差距。 TML是类型运算符的演算,可以在足够低的级别以高级语言(如核心ML)表示构造,以直接与机器级别上这些类型构造的具体实现相对应。这些运算符具有足够的表现力,可以进行可证明的安全优化,例如消除数组边界检查和和类型区分。我将首先为这些运算符提供一个语义模型,并基于它们来键入规则。然后,该模型用于提供汇编级指令的模型。类型规则和指令模型一起提供了一个接口,该接口允许对类型化的汇编语言进行类型检查,而无需暴露复杂的底层语义模型。最后,我将提供一种证明技术,该技术说明如何使用TML提供的类型和指令的基础语义模型将键入的汇编语言的可键入性与相应的机器级程序的安全性联系起来。

著录项

  • 作者

    Swadi, Kedar Nandkumar.;

  • 作者单位

    Princeton University.;

  • 授予单位 Princeton University.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2003
  • 页码 151 p.
  • 总页数 151
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 自动化技术、计算机技术;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号