DWARF 5 tags and attributes (#271)
authorSeva Alekseyev <sevaa@yarxi.ru>
Tue, 4 Feb 2020 13:37:04 +0000 (08:37 -0500)
committerGitHub <noreply@github.com>
Tue, 4 Feb 2020 13:37:04 +0000 (05:37 -0800)
elftools/dwarf/enums.py

index b635c125415f069634dacfdcec02a94dc68ce063..aafa8ab939c964047705e289ad2e3ce9e7ce9388 100644 (file)
@@ -78,6 +78,12 @@ ENUM_DW_TAG = dict(
     DW_TAG_type_unit                   = 0x41,
     DW_TAG_rvalue_reference_type       = 0x42,
     DW_TAG_atomic_type                 = 0x47,
+    DW_TAG_call_site                   = 0x48,
+    DW_TAG_call_site_parameter         = 0x49,
+    DW_TAG_skeleton_unit               = 0x4a,
+    DW_TAG_immutable_type              = 0x4b,
+
+
 
     DW_TAG_lo_user                     = 0x4080,
     DW_TAG_GNU_template_template_param = 0x4106,
@@ -85,6 +91,9 @@ ENUM_DW_TAG = dict(
     DW_TAG_GNU_formal_parameter_pack   = 0x4108,
     DW_TAG_GNU_call_site               = 0x4109,
     DW_TAG_GNU_call_site_parameter     = 0x410a,
+
+    DW_TAG_APPLE_property              = 0x4200,
+
     DW_TAG_hi_user                     = 0xffff,
 
     _default_                          = Pass,
@@ -196,6 +205,35 @@ ENUM_DW_AT = dict(
     DW_AT_const_expr            = 0x6c,
     DW_AT_enum_class            = 0x6d,
     DW_AT_linkage_name          = 0x6e,
+    DW_AT_string_length_bit_size= 0x6f,
+    DW_AT_string_length_byte_size=0x70,
+    DW_AT_rank                  = 0x71,
+    DW_AT_str_offsets_base      = 0x72,
+    DW_AT_addr_base             = 0x73,
+    DW_AT_rnglists_base         = 0x74,
+    DW_AT_dwo_name              = 0x76,
+    DW_AT_reference             = 0x77,
+    DW_AT_rvalue_reference      = 0x78,
+    DW_AT_macros                = 0x79,
+    DW_AT_call_all_calls        = 0x7a,
+    DW_AT_call_all_source_calls = 0x7b,
+    DW_AT_call_all_tail_calls   = 0x7c,
+    DW_AT_call_return_pc        = 0x7d,
+    DW_AT_call_value            = 0x7e,
+    DW_AT_call_origin           = 0x7f,
+    DW_AT_call_parameter        = 0x80,
+    DW_AT_call_pc               = 0x81,
+    DW_AT_call_tail_call        = 0x82,
+    DW_AT_call_target           = 0x83,
+    DW_AT_call_target_clobbered = 0x84,
+    DW_AT_call_data_location    = 0x85,
+    DW_AT_call_data_value       = 0x86,
+    DW_AT_noreturn              = 0x87,
+    DW_AT_alignment             = 0x88,
+    DW_AT_export_symbols        = 0x89,
+    DW_AT_deleted               = 0x8a,
+    DW_AT_defaulted             = 0x8b,
+    DW_AT_loclists_base         = 0x8c,
 
     DW_AT_MIPS_fde                      = 0x2001,
     DW_AT_MIPS_loop_begin               = 0x2002,
@@ -235,6 +273,10 @@ ENUM_DW_AT = dict(
     DW_AT_GNU_all_source_call_sites         = 0x2118,
     DW_AT_GNU_macros                        = 0x2119,
     DW_AT_GNU_deleted                       = 0x211a,
+    DW_AT_GNU_dwo_id                        = 0x2131,
+    DW_AT_GNU_pubnames                      = 0x2134,
+    DW_AT_GNU_pubtypes                      = 0x2135,
+    DW_AT_GNU_discriminator                 = 0x2136,
 
     DW_AT_LLVM_include_path  = 0x3e00,
     DW_AT_LLVM_config_macros = 0x3e01,