eliben / pyelftools

Parsing ELF and DWARF in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for the .gnu_debuglink section as part of the DWARF5 standard

Kungergely opened this issue · comments

Would it be possible to implement support for the .gnu_debuglink section to make the DWARF5 standard compatibility more feature complete? Since the .gnu_debugaltlink and .debug_sup section support has already been implemented I don't think that this would be an excessive change. Yes, probably the constructor of the DWARFInfo object would have to be extended by yet another parameter, but gcc seems to rely on this section rather heavily lately to link to .debug files that contain debug info.

I don't see why not - but we'd need some kind of guidance. How is it different from gnu_debugaltlink?

Also, any chance for a sample binary?