首页> 外文学位 >Type systems for object-oriented intermediate languages.
【24h】

Type systems for object-oriented intermediate languages.

机译:面向对象的中间语言的类型系统。

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

摘要

In the standard Java implementation, a Java language program is compiled to bytecode. This bytecode may be sent across the network to another site, where it is then executed by the Java Virtual Machine. Since bytecode may be written by hand, or corrupted during network transmission, the Java Virtual Machine contains a bytecode verifier that performs a number of consistency checks before code is run. These checks include type correctness, and, as illustrated by previous attacks on the Java Virtual Machine, they are critical for system security. However, there is no existing specification which fully captures how Java bytecodes must be type checked.; In order to analyze verification of such a language and to understand the properties that should be checked to preserve system security, we develop a precise specification of statically-correct Java bytecode, in the form of a type system. We study a subset of the bytecode language including classes, interfaces, constructors, methods, exceptions, and byte-code subroutines. We also describe a prototype implementation of a type checker for our system and discuss some applications of this work. For example, we show how to extend our formal system to check other program properties, such as the correct use of object locks.; This work has helped to clarify the original bytecode verifier specification, uncovered a security flaw in the Sun verifier implementation, and points to ways in which the bytecode language may be simplified and extended.
机译:在标准Java实现中,Java语言程序被编译为字节码。该字节码可以通过网络发送到另一个站点,然后由Java虚拟机在该站点执行。由于字节码可能是手工编写的,也可能在网络传输过程中损坏,因此Java虚拟机包含一个字节码验证程序,该验证程序在运行代码之前执行许多一致性检查。这些检查包括类型正确性,并且,如先前对Java虚拟机的攻击所说明的那样,它们对于系统安全性至关重要。但是,没有现有的规范可以完全捕获如何对Java字节码进行类型检查。为了分析这种语言的验证并了解为保护系统安全而应检查的属性,我们以类型系统的形式开发了静态正确的Java字节码的精确规范。我们研究字节码语言的子集,包括类,接口,构造函数,方法,异常和字节码子例程。我们还将为系统描述类型检查器的原型实现,并讨论这项工作的一些应用。例如,我们展示了如何扩展我们的形式系统以检查其他程序属性,例如对象锁的正确使用。这项工作有助于阐明原始字节码验证程序规范,发现了Sun验证程序实现中的安全缺陷,并指出了可以简化和扩展字节码语言的方式。

著录项

  • 作者

    Freund, Stephen Neil.;

  • 作者单位

    Stanford University.;

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

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号