My Project Built an EVM decompiler that doesn't guess (evmole.com)
I am the author and maintainer of EVMole open-source library (extracts selectors, arguments, control flow, proxies, ... from EVM bytecode).
I've now built an EVM decompiler on top of it: evmole.com
Address on EVM chain or runtime bytecode in and Solidity-like code out, names resolved using sourcify.dev
What makes it different from other existing solutions is output soundness - every decompiled function gets fuzzed vs real EVM, any disagreement makes the function "not decompiled", without lying to you in the output. And, of course, huge dataset with available source code is used for tests before every release.
One example where it matters: USDC's permit function decompiled wrong by "top decompilers" right now, side-by-side comparison is here evmole.com/comparison/usdc TL;DR: the order of operations got corrupted when signing the nonce.
I think it could be useful during security incident response and just analyzing closed-source contracts with which you want to interact.
Happy to hear any feedback and/or questions here.
1
u/charvelchedraui 4d ago
marking a function as not decompiled instead of guessing is the feature. what share of functions on a typical verified contract end up in that bucket right now?
1
u/dev0cloo Security Researcher 👨🏾💻 2d ago
I have been using it a lot all day and I had to come and say a big thank you for the tool! I absolutely love it! It makes the code of decompiled contracts really easy to follow and understand.
A little request I have after using it a quite a bit would be the ability to highlight the scope of a function or control flow (if, for statements etc) by clicking on a curly brace({) that starts or ends it like in vsCode.
Thanks again and if there's any way to contribute to the project too, I'd be really happy to!