retdec
retdec copied to clipboard
retdec-decompiler.py: can't provide external DWARF file
There's an option for loading external PDB file, but no such option exists for DWARF. Is this planned?
There is an option for PDB because it is standard to have these files separate from executable PE files.
This is not so for ELF + DWARF. Or do you mean PE + DWARF?.
At the time of implementing this, we were not aware this is even possible. And even if possible, then certainly not commonly used. So, my question is, are we talking ELF + DWARF? PE + DWARF? Is this actually used now? Do you have example samples?
The answer to your question is NO, we don't plan for it, because we are not even aware of it. You might change tis issue from a question to a feature request. Be sure to include the samples to test on, etc. It is does not mean someone will get to it right away, but it is a start.
Btw, we are accepting PRs, so you might want to have a go at it yourself :-D
For my particular use case, I am interested in Mach-O with external DWARF. However, ELF+DWARF is relatively common.