Skip to content

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

@JorgeAtPaladin

Description

@JorgeAtPaladin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions