首页> 外文会议>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:以太坊虚拟机的完整形式语义

获取原文

摘要

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.
机译:分布式系统和应用密码学社区感兴趣的一个发展领域是智能合约:通常是通过区块链来同步其状态的自执行金融工具。以太坊(Ethereum)就是这样一种智能合约系统,已经得到广泛的实际采用,以太坊已经发展到了1000亿美元的市场容量,并且每天清除超过50万笔交易。不幸的是,这些技术的兴起已受到一系列代价高昂的错误和利用的损害。以太坊社区越来越多地转向形式化方法和严格的程序分析工具。由于智能合约的相对简单性以及以太坊虚拟机(EVM)固有的限时确定性执行,这一趋势具有广阔的前景。在这里,我们介绍KEVM,这是使用K框架构建的EVM基于字节码栈的语言的可执行正式规范,旨在为进一步的形式分析奠定坚实的基础。我们使用官方的以太坊测试套件凭经验评估KEVM的正确性和性能。为了演示可用性,提出了语义的几个扩展。并根据ERC20规范验证了ERC20标准令牌的两种不同语言的实现。这些结果对于语言原型和规范的可执行语义方法是令人鼓舞的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号