KEVM: A Complete Formal Semantics of the Ethereum Virtual Machine

By Everett Hildenbrandt, Manasvi Saxena, Nishant Rodrigues, Xiaoran Zhu, Philip Daian, Dwight Guth, Brandon M. Moore, D. Park, Yi Zhang, Andrei Stefanescu and 1 more. IEEE Computer Security Foundations Symposium, 2018

393 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computer Networks and Communications, Information Systems

View Paper: https://www.semanticscholar.org/paper/21bfb7d9014ffd758ec3be47fecb5e3cc1d26671

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Petar Tsankov
  2. Martin T. Vechev
  3. Marcus Pendleton
  4. Laurent L. Njilla
  5. Huashan Chen
  6. Yuan Zhuang
  7. Peng Qian
  8. Xun Wang

In Computer Networks and Communications

  1. Marcus Pendleton
  2. Yong Yuan
  3. Laurent L. Njilla
  4. Huashan Chen
  5. Martin T. Vechev
  6. Petar Tsankov
  7. Feiyue Wang
  8. Shouhuai Xu

In Information Systems

  1. Petar Tsankov
  2. Yong Yuan
  3. Feiyue Wang
  4. Marcus Pendleton
  5. Laurent L. Njilla
  6. Huashan Chen
  7. Martin T. Vechev
  8. Yuan Zhuang

Citations in the corpus