-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bytecode decompiler #857
Comments
@Nana-EC what is the latest on this issue? I know @quiet-node was working on this last and hit some blockers. |
Hello, @SimiHunjan, thank you for opening this ticket! I've come across a highly maintained decompiler project called Heimdall-rs that seems perfect for this task. However, integrating Heimdall-rs into Hashscan presents certain challenges, considering that Heimdall-rs is fully engineered in Rust while Hashscan operates with Typescript. To implement Heimdall-rs, we're exploring two solutions: 1. Hosting Heimdall-rs as a RESTful service
2. Building Heimdall-rs into an NPM package using wasm-pack library
I currently remain open to and seeking alternative solutions if wasm doesn't work out |
Hey! Maintainer of heimdall here. In order for heimdall to support wasm, I would need to remove all instances of the |
Problem
Users especially developers will occasionally want to learn more about a contracts contents. This usually requires verification first to ensure the matching code. However, it is possible given bytecode to decompile the bytecode and get a sense of the method flows in the contract.
This is useful for debugging situations to have a better understanding of a contract contents when the original source code is not available it may be useful to decompile the run time bytecode to have a better understanding
Examples of usage can be seen at https://etherscan.io/bytecode-decompiler & https://ethervm.io/decompile
User Story
Solution
Add feature to decompile bytecode
Alternatives
No response
The text was updated successfully, but these errors were encountered: