150 points · by muizelaar · 7y ago · 30 comments
https://github.com/NationalSecurityAgency/ghidra
I'm curious as to what prevented them from doing that on day one. Any legal issues presumably would have been worked out prior to the announcement. I guess timelines didn't line up :)
https://megous.com/dl/tmp/or1k-dec.png https://megous.com/dl/tmp/or1k-dec2.png
Ghidra is powerful.
IDA Pro is commercial. Only very limited versions without decompiler are free as in beer for personal use.
You might also be interested in Radare2 (with Cutter being a Chrome frontend). The command line utility r2 even has syntax highlighting.
There are plugins for all of these as well. AFAIK all written in Python.
Ghidra also currently lacks support for certain ARM instruction decodings so you can get odd looking disassembly. That isn’t to say you can’t add it.
Ghidra has been very nice for reversing C++ code. After filling in most of the members for an object field it makes reversing other subroutines that use the defined type simpler, IMO.
The sources published earlier were the Java sources, and the engine documented here was only in the binary form.
https://github.com/NationalSecurityAgency/ghidra/tree/master...