Let’s Write An Ethereum Virtual Machine Disassembler
home // page // ethereum
s
Technical

Let’s Write An Ethereum Virtual Machine Disassembler

In this article we’ll discuss writing a disassembler for the Ethereum Virtual Machine (EVM). While writing disassemblers doesn’t necessarily require much knowledge of the machine the instructions are for, it’s actually quite a fun way to get your feet wet. During this tutorial we’ll be using the D programming language. Why D? Honestly there’s no great reason. It’s mostly because¬†I think it’s clearer and simpler than the alternatives for this kind of low-level code. Let’s get started. Introduction When writing…