From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:DWARF" |
|---|
| claim | "The DW_TAG values a reverser meets most in .debug_info (a subset): 0x11 compile_unit, 0x2e subprogram, 0x34 variable, 0x05 formal_parameter, 0x13 structure_type, 0x02 class_type, 0x24 base_type, 0x0f pointer_type, 0x16 typedef, 0x1d inlined_subroutine; Dwarf.def's standard table runs 0x01-0x4f (DWARF 2-5, with 0x4c-0x4f property tags marked DWARF 6) plus vendor ranges from 0x4081." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "DWARF .debug_info, .debug_abbrev" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "DW_TAG" |
|---|
| underlying_type | "uleb128" |
|---|
| values | | 0x01 | "DW_TAG_array_type" |
|---|
| 0x02 | "DW_TAG_class_type" |
|---|
| 0x04 | "DW_TAG_enumeration_type" |
|---|
| 0x05 | "DW_TAG_formal_parameter" |
|---|
| 0x0b | "DW_TAG_lexical_block" |
|---|
| 0x0d | "DW_TAG_member" |
|---|
| 0x0f | "DW_TAG_pointer_type" |
|---|
| 0x10 | "DW_TAG_reference_type" |
|---|
| 0x11 | "DW_TAG_compile_unit" |
|---|
| 0x13 | "DW_TAG_structure_type" |
|---|
| 0x15 | "DW_TAG_subroutine_type" |
|---|
| 0x16 | "DW_TAG_typedef" |
|---|
| 0x17 | "DW_TAG_union_type" |
|---|
| 0x18 | "DW_TAG_unspecified_parameters" |
|---|
| 0x1c | "DW_TAG_inheritance" |
|---|
| 0x1d | "DW_TAG_inlined_subroutine" |
|---|
| 0x21 | "DW_TAG_subrange_type" |
|---|
| 0x24 | "DW_TAG_base_type" |
|---|
| 0x26 | "DW_TAG_const_type" |
|---|
| 0x28 | "DW_TAG_enumerator" |
|---|
| 0x2e | "DW_TAG_subprogram" |
|---|
| 0x2f | "DW_TAG_template_type_parameter" |
|---|
| 0x34 | "DW_TAG_variable" |
|---|
| 0x35 | "DW_TAG_volatile_type" |
|---|
| 0x37 | "DW_TAG_restrict_type" |
|---|
| 0x39 | "DW_TAG_namespace" |
|---|
| 0x3a | "DW_TAG_imported_module" |
|---|
| 0x3c | "DW_TAG_partial_unit" |
|---|
| 0x41 | "DW_TAG_type_unit" |
|---|
| 0x42 | "DW_TAG_rvalue_reference_type" |
|---|
| 0x47 | "DW_TAG_atomic_type" |
|---|
| 0x48 | "DW_TAG_call_site" |
|---|
| 0x49 | "DW_TAG_call_site_parameter" |
|---|
| 0x4a | "DW_TAG_skeleton_unit" |
|---|
| 0x4109 | "DW_TAG_GNU_call_site" |
|---|
|
|---|
| complete | false |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "HANDLE_DW_TAG entries starting at line 74 (0x0001 array_type); I read the table and list the commonly seen subset. GNU_call_site is 0x4109 there." |
|---|
| repo | "https://github.com/llvm/llvm-project" |
|---|
| commit | "059577967e64f14231b35bcd57f2b88c29909afc" |
|---|
| path | "llvm/include/llvm/BinaryFormat/Dwarf.def" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Common tags" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T01:16:59.161Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T12:16:10.124Z" |
|---|
| result | "confirmed" |
|---|
| method | "Parsed HANDLE_DW_TAG entries of Dwarf.def at 0595779 (119 entries) and compared all 36 listed pairs: all match, incl. 0x4109 GNU_call_site; 0x4b immutable_type is version 5 and 0x4c-0x4f property tags version 6, vendor ranges from 0x4081 (HP_array_descriptor) as the claim says." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T08:12:47.434Z" |
|---|
| summary | "Subset of the table: mark complete false. Dwarf.def runs 0x01-0x4f, but 0x4c-0x4f (property tags) are version 6, so 'DWARF 2-5' is 2-6 in LLVM; 0x4b immutable_type was also left out." |
|---|
| changed | |
|---|
|
|
|---|