Got all functions and symbols renamed nicely in ghidra, and want to have a single-file export of all source? Easy with the Script Manager and a Java script to dump all functions to a single file - see picture for example.
Got all functions and symbols renamed nicely in ghidra, and want to have a single-file export of all source? Easy with the Script Manager and a Java script to dump all functions to a single file - see picture for example.
The Legend of Zelda: Twilight Princess is 100.00% decompiled
Decompilation progress report for The Legend of Zelda: Twilight Princess.
Given how fervent Zelda fans are, we’ll see PC ports pretty fast I think.
I got screwed by Rednex... so we decompiled their game
Plus: An interview with the creator of legendary emulator ZSNES and a healthy dose of patch notes.
Did you know that there is not only Matt Godbolt's Compiler Explorer at https://godbolt.org, but also a Decompiler Explorer, appropriately named https://dogbolt.org, which compares the output of Ghidra, BinaryNinja, IDA and other decompilers?
When decompiling, function calls may not be immediately obvious due to compilers doing optimizations like built-in functions and unrolling loops. E.g. a strcpy() for a fixed string may become a series of x86 "mov" instructions to avoid function call and loop overhead.
See also: https://gcc.gnu.org/onlinedocs/gcc/Built-in-Functions.html
#ctf #cybersecurity #reverseengineering #re #ghidra #decompile
Heute mal etwas rumdaddeln und "Ida Free" als Alternative zu ghidra angucken ("Pro" kann sich ja kein Hobbyist leisten... aber muss auch nicht)
A blog post on r2ai / decai by @pancake which shows decompiling to Swift :
https://www.nowsecure.com/blog/2025/01/29/decompiling-apps-with-ai-language-models/