cesena / ghidra2dwarf

šŸ‰ Export ghidra decompiled code to dwarf sections inside ELF binary
MIT License
183 stars 17 forks source link

Add ELF exporting logic. #15

Closed Manouchehri closed 11 months ago

Manouchehri commented 2 years ago

Solves #13.

Manouchehri commented 2 years ago

ping @meowmeowxw @nneonneo @NextLight

nneonneo commented 1 year ago

To be honest, I'm a bit leery of this. The Ghidra ElfExporter has had some serious bugs; https://github.com/NationalSecurityAgency/ghidra/issues/19 tracks issues that it's had since the beginning. Although I hope the issues have been fixed, I'd like to know if you've run into any issues with the exporter? In particular, I would like to know if the exporter changes anything compared to the on-disk file.

Manouchehri commented 1 year ago

We haven't run into issues yet, but we also haven't been looking for them.

https://github.com/NationalSecurityAgency/ghidra/issues/19#issuecomment-805751736

nneonneo commented 1 year ago

FWIW, we tried out ELF export this weekend on 10.3 (not specifically this PR, just the Ghidra feature) and wound up with executables that didnā€™t work properly. We havenā€™t debugged in detail what went wrong yet.

Manouchehri commented 11 months ago

Closing in favour of #24.