Skip to content

A simple demo of solidity cfg analysis based on trace log and ast

Notifications You must be signed in to change notification settings

KuTuGu/solidity-cfg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solidity CFG

A demo for ast analysis of solidity's cfg. Traditional cfg analysis is based on opcode, which is difficult to understand.

In this demo, ast analysis is added to the basic analysis of opcode, so as to understand the call relationship between functions and intermediate variable data in a more readable way.

How

architecture

Todo

  • Support contract call abi parsing
  • Support user-defined type ast parsing

About

A simple demo of solidity cfg analysis based on trace log and ast

Resources

Stars

Watchers

Forks