Skip to content

Conversation

@jkhollandjr
Copy link

Panoramix is often unable to find function descriptions and decompile solidity smart contracts since solidity version 0.8.20, giving the output:

INFO Functions decompilation finished, now doing post-processing.
# Palkeoramix decompiler.
#
#  I failed with these:
#  - _fallback(?)
#  All the rest is below.
#

This can also be seen when using the Etherscan bytecode compiler tool: Example Decompilation

I believe the problem can be fixed by simply adding the stack diff for the push0 opcode, as shown in this pull request.

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

Successfully merging this pull request may close these issues.

3 participants