You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Panoramix produces decompiled contracts that contain escape characters to make the output look better in terminal, however, when redirecting it to the file, the code is hard to read. Unfortunately, this syntax highlighting is very tightly integrated in current version of panoramix so after a while I gave up on modifying the code. For those like me, who had the same issues I would recommend to strip escape characters out with sed.
#541
Open
pcgandhinj466 opened this issue
Oct 17, 2022
· 0 comments
Panoramix produces decompiled contracts that contain escape characters to make the output look better in terminal, however, when redirecting it to the file, the code is hard to read. Unfortunately, this syntax highlighting is very tightly integrated in current version of panoramix so after a while I gave up on modifying the code. For those like me, who had the same issues I would recommend to strip escape characters out with sed.
panoramix contractAddress | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g'> decompiled-contract
If anybody else has a better approach or you recommend other decompilation tool, let me know!
Panoramix produces decompiled contracts that contain escape characters to make the output look better in terminal, however, when redirecting it to the file, the code is hard to read. Unfortunately, this syntax highlighting is very tightly integrated in current version of panoramix so after a while I gave up on modifying the code. For those like me, who had the same issues I would recommend to strip escape characters out with sed.
If anybody else has a better approach or you recommend other decompilation tool, let me know!
Originally posted by @martinkersner in palkeo/panoramix#30
The text was updated successfully, but these errors were encountered: