From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:DWARF" |
|---|
| claim | "A .dwp package file's .debug_cu_index/.debug_tu_index rows list per-unit contributions by section id; DWARF 5 ids are 1 INFO, 3 ABBREV, 4 LINE, 5 LOCLISTS, 6 STR_OFFSETS, 7 MACRO, 8 RNGLISTS, while the pre-standard GNU proposal used 2 TYPES, 5 LOC, 7 MACINFO, 8 MACRO, so ids 5, 7 and 8 mean different sections in old and new packages." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "DWARF split DWARF .dwp" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "DW_SECT" |
|---|
| underlying_type | "uint32_t" |
|---|
| values | | 1 | "DW_SECT_INFO" |
|---|
| 2 | "DW_SECT_TYPES" |
|---|
| 3 | "DW_SECT_ABBREV" |
|---|
| 4 | "DW_SECT_LINE" |
|---|
| 5 | "DW_SECT_LOCLISTS" |
|---|
| 6 | "DW_SECT_STR_OFFSETS" |
|---|
| 7 | "DW_SECT_MACRO" |
|---|
| 8 | "DW_SECT_RNGLISTS" |
|---|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Comment listing the ids shared by the GNU proposal and DWARF 5 and the ones that clash; Dwarf.def lines 1454-1460 define the DWARF 5 table." |
|---|
| repo | "https://github.com/llvm/llvm-project" |
|---|
| commit | "059577967e64f14231b35bcd57f2b88c29909afc" |
|---|
| path | "llvm/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h" |
|---|
| lines | "22-44" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Package file section ids" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T01:16:59.619Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T08:12:47.780Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read DWARFUnitIndex.h lines 22-44 (id table and clashes: GNU 5 LOC, 7 MACINFO, 8 MACRO vs DWARF5 5 LOCLISTS, 7 MACRO, 8 RNGLISTS) and Dwarf.def HANDLE_DW_SECT lines 1454-1460 at the commit." |
|---|
|
|
|---|