节点文献

字节码虚拟机的构造和验证

Construction and Certification of a Bytecode Virtual Machine

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 董渊任恺王生原张素琴

【Author】 DONG Yuan+,REN Kai,WANG Sheng-Yuan,ZHANG Su-Qin(Department of Computer Science and Technology,Tsinghua University,Beijing 100084,China)

【机构】 清华大学计算机科学与技术系

【摘要】 提出一种虚拟机构造和验证方案.给出字节码程序运行环境BVM(bytecode virtual machine)的形式化定义;采用X86机器语言构造虚拟机CertVM(certified virtual machine);并证明该虚拟机实现符合相应程序规范并和BVM之间具有模拟关系.利用辅助工具Coq给出证明,所有证明均可机器自动检查.CertVM确保在硬件环境满足其语义规范的情况下,已验证的字节码程序能够在给定虚拟机环境中正常运行.给出的方案不仅为虚拟机验证提供理论基础,而且为可信软件构造提供了一种有益的尝试.

【Abstract】 This paper presents a method to build and verify bytecode virtual machine.The formal definition and the operational semantics of a bytecode virtual machine(BVM) are given.CertVM(certified virtual machine) is implemented with X86 assembly code.It is proved in this paper that the CertVM is satisfied with the formal definition of the bytecode machine with simulation relation.The virtual machine implementation program is certified in the Coq proof assistant.The proof is machine checkable.This method guarantees that a certified bytecode program will run on the certified virtual machine without stuck unless hardware faults.This work does not only provide a solid theoretical foundation for reasoning about virtual machine,but also makes an important advance toward building the trustworthy software.

【基金】 国家自然科学基金Nos.90818019,90816006;国家高技术研究发展计划(863)Nos.2008AA01Z102,2009AA011902~~
  • 【文献出处】 软件学报 ,Journal of Software , 编辑部邮箱 ,2010年02期
  • 【分类号】TP311.53
  • 【被引频次】10
  • 【下载频次】242
节点文献中: 

本文链接的文献网络图示:

本文的引文网络