Hacker News new | ask | show | jobs
by arebhaibhai 2040 days ago
Also, you can use Ghidra, RetDec and r2dec decompilers all at the same time inside Cutter.

https://nitter.nixnet.services/r2gui/status/1300792273819635...

1 comments

Ghidra is of course the most mature and deals the best with convoluted code. It has the least unnecessary type munging.

But I'm very impressed that retdec was able to to get in an early return. Deeply nested ifs are a big pain point for me in ghidra, in cases when the code would be much easier to read with an early return.

Edit: I wonder how it's implemented. Presumably you need some heuristic to decide to duplicate a basic block. Perhaps that could be exposed to the user?