cesena / ghidra2dwarf

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

Macos support #6

Closed madushan1000 closed 2 years ago

madushan1000 commented 3 years ago

Added macos support, built libdwarf from the most recent version. I was trying to dump c headers for a risc-v file but that didn't work because libdwarf doesn't seem to support risk-v(dwarfdump can dump the dwarf info though). Also added try block to bypass functions without a proper de-compilation.

meowmeowxw commented 3 years ago

Thank you for the PR! Unfortunately we don't want to merge external binaries and we are planning to automatically build libdwarf with a GH action. In this way we will also support macos.

Can you please share the files you have issues with so we can investigate the issue and possible solutions?

NextLight commented 2 years ago

Closing this.

Mac OS support was added in 453bb3d3bcdc3a6172c91cfe69dd6e196497a866 and the crash when the function cannot be decompiled was fixed by #10.