Library to read ELF file DWARF debug information

后端 未结 4 414
被撕碎了的回忆
被撕碎了的回忆 2020-12-05 13:55

Any recommendations for a good cross-platform library for reading ELF file debug information in DWARF format? I\'d like to read the DWARF debug info in a Python program.

4条回答
  •  渐次进展
    2020-12-05 14:35

    The concept of "ELF debug info" doesn't really exist: the ELF specification leaves the content of the .debug section deliberately unspecified.

    Common debug formats are STAB and DWARF. A library to read DWARF is libdwarf.

提交回复
热议问题