cesena / ghidra2dwarf

🐉 Export ghidra decompiled code to dwarf sections inside ELF binary
MIT License
179 stars 17 forks source link

Debug section files can be deleted afterwards #3

Closed io12 closed 3 years ago

io12 commented 3 years ago

The script can delete the .debug_info, .debug_line, and .debug_abbrev files, so they don't clutter the binary's directory.

NextLight commented 3 years ago

51062f754d14928ff5585bb206fa8c611062344e fixes this issue because we don't have to create the section files at all.

Using objcopy and the export.sh script was a temporary workaround, now we are doing everything in python so we can keep the sections in memory.