Skip to content
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

When decompiling, replace reference to things like address(this.code[0x5c52:(0x5c52+0x20)]) by it's content #74

Open
ytrezq opened this issue Jan 17, 2024 · 3 comments

Comments

@ytrezq
Copy link

ytrezq commented Jan 17, 2024

Very unclear to read. Please execute/evaluate such static expressions in order to get the underlying address being called.

Eventually do the same for variables (for example, if the code does something like local29348 = 0x7a250d5630b4cf539739df2c5dacb4c659f2488d; then replace replace all occurrences of local29348 by 0x7a250d5630b4cf539739df2c5dacb4c659f2488d since it's a static expression).

@acuarica
Copy link
Owner

Hi @ytrezq, thanks for sending this. Would you be able to provide the address or bytecode where this happens?

@ytrezq
Copy link
Author

ytrezq commented Jan 18, 2024

Hi @ytrezq, thanks for sending this. Would you be able to provide the address or bytecode where this happens?

Of course, 0xBCd3a47e4d0000cf170E25d1bD3d53F7C08be0A6 on the Ethereum mainnet.

@acuarica
Copy link
Owner

Related #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants