redballoonsecurity / ofrak

OFRAK: unpack, modify, and repack binaries.
https://ofrak.com
Other
1.85k stars 126 forks source link

Ghidra custom "loader" #374

Closed EdwardLarson closed 11 months ago

EdwardLarson commented 11 months ago

One sentence summary of this PR (This should go in the CHANGELOG!) Add a Ghidra script to create a memory map for a binary, mirroring OFRAK's, when Ghidra cannot load the target binary itself.

Link to Related Issue(s) Ghidra has loaders for some formats, but OFRAK has unpackers for some programs that Ghidra does not (e.g. Uimage). So although OFRAK unpacks these and can find the memory sections, Ghidra cannot analyze any of the code. It would be desirable for future formats as well, once an OFRAK unpacker is written, for them to automatically be supported by Ghidra (as best they can).

Please describe the changes in your request.

Anyone you think should look at this, specifically?