首页> 外文会议>IEEE Computer Security Foundations Symposium >KEVM: A Complete Formal Semantics of the Ethereum Virtual Machine
【24h】

KEVM: A Complete Formal Semantics of the Ethereum Virtual Machine

机译:KEVM:Ethereum虚拟机的完整形式语义

获取原文

摘要

A developing field of interest for the distributed systems and applied cryptography communities is that of smart contracts: self-executing financial instruments that synchronize their state, often through a blockchain. One such smart contract system that has seen widespread practical adoption is Ethereum, which has grown to a market capacity of 100 billion USD and clears an excess of 500,000 daily transactions. Unfortunately, the rise of these technologies has been marred by a series of costly bugs and exploits. Increasingly, the Ethereum community has turned to formal methods and rigorous program analysis tools. This trend holds great promise due to the relative simplicity of smart contracts and bounded-time deterministic execution inherent to the Ethereum Virtual Machine (EVM). Here we present KEVM, an executable formal specification of the EVM's bytecode stack-based language built with the K Framework, designed to serve as a solid foundation for further formal analyses. We empirically evaluate the correctness and performance of KEVM using the official Ethereum test suite. To demonstrate the usability, several extensions of the semantics are presented. and two different-language implementations of the ERC20 Standard Token are verified against the ERC20 specification. These results are encouraging for the executable semantics approach to language prototyping and specification.
机译:分布式系统和应用加密社区的发展领域是智能合同:自行执行金融工具,其常常通过区块链同步其状态。一种如此普遍采用的智能合同制度是以为像以1000亿美元的市场能力发展,并清除超过500,000日的每日交易。不幸的是,这些技术的兴起已经受到一系列昂贵的虫子和利用的影响。越来越多地,国内社区已经转向正式的方法和严格的计划分析工具。由于Ethereum虚拟机(EVM)固有的智能合同和有界时间确定性执行的相对简单,这一趋势具有很大的承诺。在这里,我们呈现KEVM,使用K框架建立了基于EVM的字节码堆栈的语言的可执行形式规范,旨在作为进一步正式分析的坚实基础。我们使用官方Etereum试验套件凭经验评估KEVM的正确性和性能。为了展示可用性,提出了几种语义的扩展。和ERC20标准令牌的两种不同语言实现是针对ERC20规范验证的。这些结果令人鼓舞的语言原型和规范的可执行语义方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号