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

[BUG] Decompiled code incorrectly re-orders the returned code line as the bottom operation #10

Open
JorgeAtPaladin opened this issue Jun 17, 2024 · 0 comments

Comments

@JorgeAtPaladin
Copy link

I was decompiling a module on the SUI network using the revela decompiler and it appeared as if the module was vulnerable as all of the operations on the returned object got moved to the last line of that function, even though in the bytecode these functions would be called at an earlier time (eg. above certain other lines of code).

This inconsistency makes it very hard to truthfully assess the decompiled code as the decompiled code is incorrect. Would love to see this fixed.

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

1 participant