EthIR: A Framework for High-Level Analysis of Ethereum Bytecode

05/10/2018
by   Elvira Albert, et al.
0

Analyzing Ethereum bytecode, rather than the source code from which it was generated, is a necessity when: (1) the source code is not available (e.g., the blockchain only stores the bytecode), (2) the information to be gathered in the analysis is only visible at the level of bytecode (e.g., gas consumption is specified at the level of EVM instructions), (3) the analysis results may be affected by optimizations performed by the compiler (thus the analysis should be done ideally after compilation). This paper presents EthIR, a framework for analyzing Ethereum bytecode, which relies on (an extension of) OYENTE, a tool that generates CFGs; EthIR produces from the CFGs, a rule-based representation (RBR) of the bytecode that enables the application of (existing) high-level analyses to infer properties of EVM code.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/16/2021

EtherSolve: Computing an Accurate Control-Flow Graph from Ethereum Bytecode

Motivated by the immutable nature of Ethereum smart contracts and of the...
research
10/03/2020

Ethna: Analyzing the Underlying Peer-to-Peer Network of the Ethereum Blockchain

As the communication infrastructure of the blockchain system, the underl...
research
12/26/2019

GASOL: Gas Analysis and Optimization for Ethereum Smart Contracts

We present the main concepts, components, and usage of GASOL, a Gas Anal...
research
10/29/2007

Code Similarity on High Level Programs

This paper presents a new approach for code similarity on High Level pro...
research
08/10/2018

A survey of data transfer and storage techniques in prevalent cryptocurrencies and suggested improvements

This thesis focuses on aspects related to the functioning of the gossip ...
research
07/29/2022

Pattern matching algorithms in Blockchain for network fees reduction

Blockchain received a vast amount of attention in recent years and is st...
research
01/02/2014

Structured Generative Models of Natural Source Code

We study the problem of building generative models of natural source cod...

Please sign up or login with your details

Forgot password? Click here to reset