News for hackers. Stuff that matters.
Re:Reverse engineering the Motorola Sensorhub: Part 1 by mdaniel on Monday July 05, 2021 @03:37PM (#27741182)
> your favorite reverse engineering suite, like Ghidra

I'm thrilled at the adoption Ghidra has gotten, and glad the NSA used my tax dollars to contribute something useful to the world

I also loved the trick of using objcopy to turn the bytes into an ELF; that's just damn crafty

Re:Reverse engineering the Motorola Sensorhub: Part 1 by webgoat on Monday July 05, 2021 @04:13PM (#27741439)
Pretty sure they could have used the "set image base" option under the memory map view to accomplish the same thing, but it's still a cool workaround nonetheless.
Re:Reverse engineering the Motorola Sensorhub: Part 1 by Ristovski on Monday July 05, 2021 @04:38PM (#27741599)
You're right! However, I don't remember the exact issue, but Ghidra behaves differently when loading a raw binary vs when you load an ELF file. Perhaps it was something with the analyzers, I can't recall (there are ELF-specific ones for example).