To productively read DWARF comprehensively (DWARF2 and later) it is useful to access the following 36 sections. Some of them non-standard. ".debug_abbrev", ".debug_addr", ".debug_aranges", ".debug_cu_index", ".debug_frame", ".debug_funcnames", ".debug_gnu_pubnames", ".debug_gnu_pubtypes", ".debug_info", ".debug_line", ".debug_line_str", ".debug_loc", ".debug_loclists", ".debug_macinfo", ".debug_macro", ".debug_names", ".debug_pubnames", ".debug_pubtypes", ".debug_ranges", ".debug_rnglists", ".debug_str", ".debug_str_offsets", ".debug_sup", ".debug_tu_index", ".debug_typenames", ".debug_types", ".debug_varnames", ".debug_weaknames", ".eh_frame", ".gdb_index", ".gnu_debuglink", ".note.gnu.build-id", ".strtab", ".symtab", (not everyone needs to read all of them, but.., quite a list.) The .dwo sections listed in DWARF5 add 8 more sections. Not mentioning relocation sections... Not mentioning some non-standard sections... I'm just running a test and thought to count them while waiting ... David Anderson -- "I'm in the unfortunate position of having to consider other people's feelings." -- Jerry Seinfeld, in "The Gymnast" _______________________________________________ Dwarf-Discuss mailing list Dwarf-Discuss@lists.dwarfstd.org http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org
[Dwarf-Discuss] How many sections? 36
David Anderson via Dwarf-Discuss Wed, 08 Jul 2020 14:56:24 -0700