shazow / whatsabi

Extract the ABI (and resolve proxies, and get other metadata) from Ethereum bytecode, even without source code.
https://shazow.github.io/whatsabi/
MIT License
1.04k stars 71 forks source link

disasm: Abstract Stack Tracing #26

Open shazow opened 1 year ago

shazow commented 1 year ago

To handle dynamic jumps, we need to keep track of the abstract stack, and we need to do this within the computational complexity goals of this project (which could be challenging).

Overall this would substantially improve the accuracy of our extracted metadata. Right now we're losing a lot of call flows by only tracking static jumps.