Live data from Hacker News

KTRW: The Journey to Build a Debuggable iPhone

googleprojectzero.blogspot.com

21–26 of 26 posts

Re: KTRW: The Journey to Build a Debuggable iPhone

#21
post #9

Earlier quoted context omitted.

I've recently been using Ghidra for a personal project, after using IDA extensively in the past. My impressions so far: The feature set is solid. I've been frustrated by a few minor things that are missing from Ghidra, but Ghidra also has several features that are missing from IDA, and other features are better designed than in IDA. But the whole thing is crushingly slow, especially the parts written in Java. (The de…

It's a bit of a gloomy view into the landscape of disassemblers, but I was very impressed that Ghidra managed to keep one of my temporary unsaved projects I had been working on (mostly) intact through a kernel panic. Oh, and there are certain things that Ghidra's UI is better than IDA's at: defining structures, for example. And I'd like to think it has less malware in it than pirated IDA…

> Ghidra's UI is better than IDA's at: defining structures, for example

IDA 7.4 introduced a new structure editor, arguably better Ghidra's. [1]

[1]: https://hex-rays.com/products/ida/7.4/index.shtml

Re: KTRW: The Journey to Build a Debuggable iPhone

#22
post #21

Earlier quoted context omitted.

It's a bit of a gloomy view into the landscape of disassemblers, but I was very impressed that Ghidra managed to keep one of my temporary unsaved projects I had been working on (mostly) intact through a kernel panic. Oh, and there are certain things that Ghidra's UI is better than IDA's at: defining structures, for example. And I'd like to think it has less malware in it than pirated IDA…

> Ghidra's UI is better than IDA's at: defining structures, for example IDA 7.4 introduced a new structure editor, arguably better Ghidra's. [1] [1]: https://hex-rays.com/products/ida/7.4/index.shtml

IDA still doesn’t support ctrl+z for field renames. Which makes working in it an absolute nightmare (e.g. accidentally renaming a field at the beginning of the structure which will remove all mapping after it).

Re: KTRW: The Journey to Build a Debuggable iPhone

#23
post #16

Earlier quoted context omitted.

Defining structures is one of the worst parts of Ghidra for me! But maybe I'm missing something. - When I first tried Ghidra I couldn't set the size of a struct by editing the size field, so I had to go through an awkward process of creating an undefined byte and then duplicating it. However, that seems to have been fixed, so it's now better than IDA (where I always have to create a dummy field and move it to the end…

I mean, it's not perfect; I just thought that IDA does many of the same things that Ghidra does wrong but with a somewhat less forgiving UI. You did hit on some of the issues I've had with Ghidra, though: I agree that the way to create structures requires a lot of overhead and while I don't deal with anything too large, I kind of wish that Ghidra would collapse runs of "undefined" and only expand them if you clicked…

Thanks for this comment - I never tried Ghidra thinking it’s the same non-undoable usability disaster.

Re: KTRW: The Journey to Build a Debuggable iPhone

#24
post #20
post #9

Earlier quoted context omitted.

I've recently been using Ghidra for a personal project, after using IDA extensively in the past. My impressions so far: The feature set is solid. I've been frustrated by a few minor things that are missing from Ghidra, but Ghidra also has several features that are missing from IDA, and other features are better designed than in IDA. But the whole thing is crushingly slow, especially the parts written in Java. (The de…

I felt the same way about Ghidra being slow and buggy sometimes but can really vouch for r2ghidra-dec[0] to integrate the decompiler into radare2[1] (and the cutter[2] qt gui). This combination feels really nice but I have to admit that I do not have any experience with IDA as a comparison. [0] https://github.com/radareorg/r2ghidra-dec [1] https://www.radare.org/r/ [2] https://cutter.re/

Hmm, interesting. I’ll try it out when I get a chance!
Post reply on HN