
Go to the source code of this file.
| #define DW_CIE_AUGMENTER_STRING_V0 "z" |
Definition at line 265 of file libdwarf.h.
Referenced by __dwarf_get_fde_list_internal(), _dwarf_pro_generate_debugframe(), _dwf_pro_generate_ehframe(), dwarf_get_fde_for_die(), and Em_Dwarf_Begin().
| #define DW_DLA_ABBREV 0x12 |
| #define DW_DLA_ADDR 0x1c |
Definition at line 262 of file libdwarf.h.
Referenced by _dwarf_frame_address_offsets(), _dwarf_get_alloc(), _dwarf_get_aranges_addr_offsets(), _dwarf_line_address_offsets(), dwarf_dealloc(), handle_debug_aranges(), handle_debug_frame(), and handle_debug_line().
| #define DW_DLA_ARANGE 0x11 |
Definition at line 251 of file libdwarf.h.
Referenced by _dwarf_frame_address_offsets(), _dwarf_get_aranges_addr_offsets(), dwarf_get_aranges(), and print_aranges().
| #define DW_DLA_ATTR 0x0a |
Definition at line 244 of file libdwarf.h.
Referenced by _dwarf_internal_printlines(), _dwarf_internal_srclines(), dwarf_attr(), dwarf_attrlist(), dwarf_srcfiles(), get_proc_name(), handle_attr_addr(), handle_attr_locdesc(), print_aranges(), print_infos(), and print_one_die().
| #define DW_DLA_BLOCK 0x06 |
Definition at line 240 of file libdwarf.h.
Referenced by dwarf_formblock(), dwarf_loclist(), dwarf_loclist_n(), and get_attr_value().
| #define DW_DLA_BOUNDS 0x05 |
Definition at line 239 of file libdwarf.h.
| #define DW_DLA_CIE 0x14 |
Definition at line 254 of file libdwarf.h.
Referenced by __dwarf_get_fde_list_internal(), and dwarf_get_fde_for_die().
| #define DW_DLA_DEBUG 0x07 |
Definition at line 241 of file libdwarf.h.
| #define DW_DLA_DIE 0x08 |
Definition at line 242 of file libdwarf.h.
Referenced by do_this_die_and_dealloc(), dwarf_child(), dwarf_offdie(), dwarf_siblingof(), get_attr_value(), get_fde_proc_name(), get_nested_proc_name(), print_aranges(), print_die_and_children(), and print_infos().
| #define DW_DLA_ELLIST 0x04 |
Definition at line 238 of file libdwarf.h.
| #define DW_DLA_ERROR 0x0e |
Definition at line 248 of file libdwarf.h.
Referenced by _dwarf_error(), _dwarf_get_alloc(), do_this_die_and_dealloc(), and dwarf_dealloc().
| #define DW_DLA_FDE 0x15 |
Definition at line 255 of file libdwarf.h.
Referenced by __dwarf_get_fde_list_internal(), and dwarf_get_fde_for_die().
| #define DW_DLA_FRAME_BLOCK 0x17 |
Definition at line 257 of file libdwarf.h.
Referenced by _dwarf_exec_frame_instr(), _dwarf_frame_address_offsets(), _dwarf_get_alloc(), and dwarf_dealloc().
| #define DW_DLA_FRAME_OP 0x13 |
| #define DW_DLA_FUNC 0x18 |
| #define DW_DLA_GLOBAL 0x0d |
Definition at line 247 of file libdwarf.h.
Referenced by _dwarf_internal_get_pubnames_like_data(), and print_pubnames().
| #define DW_DLA_LINE 0x09 |
Definition at line 243 of file libdwarf.h.
Referenced by _dwarf_internal_srclines(), _dwarf_line_address_offsets(), and print_line_numbers_this_cu().
| #define DW_DLA_LINEBUF 0x10 |
Definition at line 250 of file libdwarf.h.
| #define DW_DLA_LIST 0x0f |
Definition at line 249 of file libdwarf.h.
Referenced by __dwarf_get_fde_list_internal(), _dwarf_cleanup_llbuf(), _dwarf_frame_address_offsets(), _dwarf_get_alloc(), _dwarf_internal_get_pubnames_like_data(), _dwarf_internal_srclines(), _dwarf_line_address_offsets(), dwarf_attrlist(), dwarf_dealloc(), dwarf_get_aranges(), dwarf_loclist_n(), dwarf_srcfiles(), get_location_list(), get_proc_name(), print_aranges(), print_frames(), print_infos(), print_line_numbers_this_cu(), print_one_die(), print_pubnames(), print_static_funcs(), print_static_vars(), print_types(), and print_weaknames().
| #define DW_DLA_LOC 0x02 |
Definition at line 236 of file libdwarf.h.
| #define DW_DLA_LOC_BLOCK 0x16 |
Definition at line 256 of file libdwarf.h.
Referenced by _dwarf_cleanup_llbuf(), _dwarf_get_alloc(), _dwarf_get_locdesc(), dwarf_dealloc(), get_location_list(), and handle_attr_locdesc().
| #define DW_DLA_LOCDESC 0x03 |
Definition at line 237 of file libdwarf.h.
Referenced by _dwarf_cleanup_llbuf(), _dwarf_get_locdesc(), dwarf_loclist_n(), get_location_list(), and handle_attr_locdesc().
| #define DW_DLA_STRING 0x01 |
Definition at line 235 of file libdwarf.h.
Referenced by _dwarf_get_alloc(), _dwarf_mac_push_index(), _dwarf_p_dealloc(), dwarf_dealloc(), dwarf_get_macro_details(), dwarf_linesrc(), dwarf_srcfiles(), get_attr_value(), get_proc_name(), print_aranges(), print_infos(), print_line_numbers_this_cu(), print_macinfo(), print_pubnames(), print_static_funcs(), print_static_vars(), print_types(), and print_weaknames().
| #define DW_DLA_SUBSCR 0x0c |
Definition at line 246 of file libdwarf.h.
| #define DW_DLA_TYPE 0x0b |
Definition at line 245 of file libdwarf.h.
| #define DW_DLA_TYPENAME 0x19 |
| #define DW_DLA_VAR 0x1a |
| #define DW_DLA_WEAK 0x1b |
| #define DW_DLC_ISA_IA64 0x01000000 |
Definition at line 281 of file libdwarf.h.
| #define DW_DLC_ISA_MIPS 0x00000000 |
Definition at line 280 of file libdwarf.h.
| #define DW_DLC_RDWR 2 |
Definition at line 271 of file libdwarf.h.
| #define DW_DLC_READ 0 |
Definition at line 269 of file libdwarf.h.
Referenced by _dwarf_addr_finder(), dwarf_elf_init(), dwarf_init(), and process_one_file().
| #define DW_DLC_SIZE_32 0x20000000 |
| #define DW_DLC_SIZE_64 0x40000000 |
| #define DW_DLC_STREAM_RELOCATIONS 0x02000000 |
Definition at line 282 of file libdwarf.h.
| #define DW_DLC_SYMBOLIC_RELOCATIONS 0x04000000 |
Definition at line 283 of file libdwarf.h.
Referenced by common_init(), dwarf_get_relocation_info(), dwarf_get_relocation_info_count(), and Em_Dwarf_Begin().
| #define DW_DLC_TARGET_BIGENDIAN 0x08000000 |
| #define DW_DLC_TARGET_LITTLEENDIAN 0x00100000 |
| #define DW_DLC_WRITE 1 |
| #define DW_DLE_ABBREV_ALLOC 86 |
| #define DW_DLE_ABBREV_DECODE_ERROR 109 |
Definition at line 406 of file libdwarf.h.
Referenced by dwarf_get_abbrev(), and dwarf_get_abbrev_entry().
| #define DW_DLE_ABBREV_OFFSET_ERROR 49 |
| #define DW_DLE_ADDR_ALLOC 130 |
Definition at line 427 of file libdwarf.h.
Referenced by _dwarf_pro_add_AT_fde(), _dwarf_pro_add_AT_macro_info(), and _dwarf_pro_add_AT_stmt_list().
| #define DW_DLE_ADDRESS_SIZE_ERROR 50 |
Definition at line 347 of file libdwarf.h.
| #define DW_DLE_ALLOC_FAIL 62 |
Definition at line 359 of file libdwarf.h.
Referenced by __dwarf_get_fde_list_internal(), _dwarf_add_simple_name_entry(), _dwarf_frame_address_offsets(), _dwarf_get_aranges_addr_offsets(), _dwarf_get_fde_info_for_a_pc_row(), _dwarf_get_locdesc(), _dwarf_internal_get_pubnames_like_data(), _dwarf_internal_printlines(), _dwarf_internal_srclines(), _dwarf_ld_sort_lines(), _dwarf_line_address_offsets(), _dwarf_make_CU_Context(), _dwarf_pro_generate_debugframe(), _dwarf_pro_transform_macro_info_to_disk(), _dwarf_transform_arange_to_disk(), _dwarf_transform_simplename_to_disk(), _dwarf_update_line_sec(), _dwf_pro_generate_ehframe(), dwarf_add_arange_b(), dwarf_add_AT_const_value_signedint(), dwarf_add_AT_const_value_string(), dwarf_add_AT_const_value_unsignedint(), dwarf_add_AT_flag(), dwarf_add_AT_location_expr(), dwarf_add_AT_producer(), dwarf_add_AT_reference(), dwarf_add_AT_signed_const(), dwarf_add_AT_string(), dwarf_add_AT_targ_address_b(), dwarf_add_AT_unsigned_const(), dwarf_add_file_decl(), dwarf_attr(), dwarf_attrlist(), dwarf_child(), dwarf_formblock(), dwarf_get_abbrev(), dwarf_get_aranges(), dwarf_get_fde_for_die(), dwarf_linesrc(), dwarf_loclist_n(), dwarf_new_expr(), dwarf_offdie(), dwarf_siblingof(), dwarf_srcfiles(), dwf_add_AT_complex_const(), and dwf_add_AT_unsigned_const_ext().
| #define DW_DLE_ARANGE_DECODE_ERROR 137 |
Definition at line 434 of file libdwarf.h.
Referenced by _dwarf_get_aranges_addr_offsets(), and dwarf_get_aranges().
| #define DW_DLE_ARANGE_LENGTH_BAD 136 |
Definition at line 433 of file libdwarf.h.
Referenced by _dwarf_get_aranges_addr_offsets(), and dwarf_get_aranges().
| #define DW_DLE_ARANGE_NULL 139 |
Definition at line 436 of file libdwarf.h.
Referenced by dwarf_get_arange_cu_header_offset(), dwarf_get_arange_info(), and dwarf_get_cu_die_offset().
| #define DW_DLE_ARANGE_OFFSET_BAD 134 |
Definition at line 431 of file libdwarf.h.
Referenced by _dwarf_get_aranges_addr_offsets(), and dwarf_get_aranges().
| #define DW_DLE_ARANGES_NULL 138 |
| #define DW_DLE_ATRUNC 21 |
Definition at line 316 of file libdwarf.h.
| #define DW_DLE_ATTR_ALLOC 85 |
Definition at line 382 of file libdwarf.h.
Referenced by _dwarf_pro_add_AT_fde(), _dwarf_pro_add_AT_macro_info(), _dwarf_pro_add_AT_stmt_list(), dwarf_add_AT_comp_dir(), and dwarf_add_AT_name().
| #define DW_DLE_ATTR_DBG_NULL 117 |
Definition at line 414 of file libdwarf.h.
Referenced by _dwarf_setup_loc(), dwarf_formaddr(), dwarf_formblock(), dwarf_formflag(), dwarf_formref(), dwarf_formsdata(), dwarf_formstring(), dwarf_formudata(), dwarf_global_formref(), dwarf_hasform(), dwarf_whatattr(), and dwarf_whatform().
| #define DW_DLE_ATTR_FORM_BAD 114 |
Definition at line 411 of file libdwarf.h.
Referenced by dwarf_diename(), dwarf_formaddr(), dwarf_formblock(), dwarf_formflag(), dwarf_formsdata(), dwarf_formstring(), and dwarf_formudata().
| #define DW_DLE_ATTR_FORM_OFFSET_BAD 119 |
Definition at line 416 of file libdwarf.h.
Referenced by dwarf_formref(), and dwarf_global_formref().
| #define DW_DLE_ATTR_FORM_SIZE_BAD 116 |
| #define DW_DLE_ATTR_NO_CU_CONTEXT 115 |
Definition at line 412 of file libdwarf.h.
Referenced by _dwarf_setup_loc(), dwarf_formaddr(), dwarf_formblock(), dwarf_formflag(), dwarf_formref(), dwarf_formsdata(), dwarf_formstring(), dwarf_formudata(), dwarf_global_formref(), dwarf_hasform(), dwarf_whatattr(), and dwarf_whatform().
| #define DW_DLE_ATTR_NULL 111 |
Definition at line 408 of file libdwarf.h.
Referenced by _dwarf_setup_loc(), dwarf_formaddr(), dwarf_formblock(), dwarf_formflag(), dwarf_formref(), dwarf_formsdata(), dwarf_formstring(), dwarf_formudata(), dwarf_global_formref(), dwarf_hasform(), dwarf_whatattr(), and dwarf_whatform().
| #define DW_DLE_BAD_EXPR_OPCODE 145 |
| #define DW_DLE_BAD_REF_FORM 118 |
Definition at line 415 of file libdwarf.h.
Referenced by dwarf_formref(), and dwarf_global_formref().
| #define DW_DLE_BADBITC 22 |
| #define DW_DLE_BADOFF 19 |
Definition at line 314 of file libdwarf.h.
| #define DW_DLE_BYTEOFF_ERR 71 |
Definition at line 368 of file libdwarf.h.
| #define DW_DLE_CHUNK_ALLOC 70 |
Definition at line 367 of file libdwarf.h.
Referenced by _dwarf_pro_generate_debugframe(), _dwarf_pro_generate_debugline(), and _dwf_pro_generate_ehframe().
| #define DW_DLE_CIE_ALLOC 72 |
Definition at line 369 of file libdwarf.h.
Referenced by dwarf_add_frame_cie(), and dwf_add_ehframe_cie().
| #define DW_DLE_CIE_DBG_NULL 95 |
| #define DW_DLE_CIE_INSTR_EXEC_ERROR 98 |
Definition at line 395 of file libdwarf.h.
| #define DW_DLE_CIE_NULL 94 |
Definition at line 391 of file libdwarf.h.
Referenced by _dwarf_pro_generate_debugframe(), _dwf_pro_generate_ehframe(), and dwarf_get_cie_info().
| #define DW_DLE_CIE_OFFS_ALLOC 75 |
Definition at line 372 of file libdwarf.h.
Referenced by _dwarf_pro_generate_debugframe(), and _dwf_pro_generate_ehframe().
| #define DW_DLE_CIE_RET_ADDR_REG_ERROR 91 |
Definition at line 388 of file libdwarf.h.
Referenced by __dwarf_get_fde_list_internal(), and dwarf_get_fde_for_die().
| #define DW_DLE_CU_ADDRESS_SIZE_BAD 142 |
| #define DW_DLE_CU_LENGTH_ERROR 47 |
| #define DW_DLE_DBG_ALLOC 23 |
Definition at line 320 of file libdwarf.h.
Referenced by dwarf_elf_init(), dwarf_finish(), dwarf_init(), dwarf_producer_init(), and dwarf_producer_init_b().
| #define DW_DLE_DBG_NO_CU_CONTEXT 103 |
| #define DW_DLE_DBG_NULL 81 |
Definition at line 378 of file libdwarf.h.
Referenced by _dwarf_add_simple_name_entry(), _dwarf_get_aranges_addr_offsets(), _dwarf_internal_get_pubnames_like_data(), dwarf_add_arange_b(), dwarf_add_AT_flag(), dwarf_add_AT_location_expr(), dwarf_add_AT_reference(), dwarf_add_AT_signed_const(), dwarf_add_AT_string(), dwarf_add_AT_targ_address_b(), dwarf_add_AT_unsigned_const(), dwarf_add_expr_addr_b(), dwarf_add_expr_gen(), dwarf_def_macro(), dwarf_end_macro_file(), dwarf_expand_frame_instructions(), dwarf_expr_current_offset(), dwarf_expr_into_block(), dwarf_get_abbrev(), dwarf_get_abbrev_entry(), dwarf_get_address_size(), dwarf_get_aranges(), dwarf_get_elf(), dwarf_get_macro_details(), dwarf_get_str(), dwarf_global_name_offsets(), dwarf_new_expr(), dwarf_next_cu_header(), dwarf_offdie(), dwarf_siblingof(), dwarf_start_macro_file(), dwarf_undef_macro(), dwarf_vendor_ext(), dwf_add_AT_complex_const(), and dwf_add_AT_unsigned_const_ext().
| #define DW_DLE_DEBUG_ABBREV_DUPLICATE 33 |
| #define DW_DLE_DEBUG_ABBREV_NULL 34 |
| #define DW_DLE_DEBUG_ARANGES_DUPLICATE 35 |
| #define DW_DLE_DEBUG_ARANGES_NULL 36 |
Definition at line 333 of file libdwarf.h.
| #define DW_DLE_DEBUG_FRAME_DUPLICATE 107 |
| #define DW_DLE_DEBUG_FRAME_LENGTH_BAD 89 |
Definition at line 386 of file libdwarf.h.
Referenced by __dwarf_get_fde_list_internal(), and dwarf_get_fde_for_die().
| #define DW_DLE_DEBUG_FRAME_NULL 108 |
Definition at line 405 of file libdwarf.h.
| #define DW_DLE_DEBUG_FUNCNAMES_DUPLICATE 152 |
| #define DW_DLE_DEBUG_FUNCNAMES_LENGTH_BAD 155 |
| #define DW_DLE_DEBUG_FUNCNAMES_NULL 153 |
Definition at line 450 of file libdwarf.h.
| #define DW_DLE_DEBUG_FUNCNAMES_VERSION_ERROR 154 |
| #define DW_DLE_DEBUG_INFO_DUPLICATE 31 |
| #define DW_DLE_DEBUG_INFO_NULL 32 |
| #define DW_DLE_DEBUG_INFO_PTR_NULL 51 |
Definition at line 348 of file libdwarf.h.
| #define DW_DLE_DEBUG_LINE_DUPLICATE 37 |
| #define DW_DLE_DEBUG_LINE_LENGTH_BAD 54 |
Definition at line 351 of file libdwarf.h.
Referenced by _dwarf_internal_printlines(), _dwarf_internal_srclines(), _dwarf_update_line_sec(), and dwarf_srcfiles().
| #define DW_DLE_DEBUG_LINE_NULL 38 |
| #define DW_DLE_DEBUG_LOC_DUPLICATE 39 |
| #define DW_DLE_DEBUG_LOC_NULL 40 |
Definition at line 337 of file libdwarf.h.
| #define DW_DLE_DEBUG_LOC_SECTION_SHORT 194 |
| #define DW_DLE_DEBUG_MACINFO_DUPLICATE 41 |
| #define DW_DLE_DEBUG_MACINFO_NULL 42 |
Definition at line 339 of file libdwarf.h.
| #define DW_DLE_DEBUG_MACRO_INCONSISTENT 186 |
| #define DW_DLE_DEBUG_MACRO_INTERNAL_ERR 184 |
| #define DW_DLE_DEBUG_MACRO_LENGTH_BAD 182 |
| #define DW_DLE_DEBUG_MACRO_MALLOC_SPACE 185 |
| #define DW_DLE_DEBUG_MACRO_MAX_BAD 183 |
Definition at line 480 of file libdwarf.h.
| #define DW_DLE_DEBUG_PUBNAMES_DUPLICATE 43 |
| #define DW_DLE_DEBUG_PUBNAMES_NULL 44 |
Definition at line 341 of file libdwarf.h.
| #define DW_DLE_DEBUG_STR_DUPLICATE 45 |
| #define DW_DLE_DEBUG_STR_NULL 46 |
Definition at line 343 of file libdwarf.h.
| #define DW_DLE_DEBUG_STR_OFFSET_BAD 121 |
| #define DW_DLE_DEBUG_TYPENAMES_DUPLICATE 158 |
| #define DW_DLE_DEBUG_TYPENAMES_LENGTH_BAD 161 |
| #define DW_DLE_DEBUG_TYPENAMES_NULL 159 |
Definition at line 456 of file libdwarf.h.
| #define DW_DLE_DEBUG_TYPENAMES_VERSION_ERROR 160 |
| #define DW_DLE_DEBUG_VARNAMES_DUPLICATE 164 |
| #define DW_DLE_DEBUG_VARNAMES_LENGTH_BAD 167 |
| #define DW_DLE_DEBUG_VARNAMES_NULL 165 |
Definition at line 462 of file libdwarf.h.
| #define DW_DLE_DEBUG_VARNAMES_VERSION_ERROR 166 |
| #define DW_DLE_DEBUG_WEAKNAMES_DUPLICATE 170 |
| #define DW_DLE_DEBUG_WEAKNAMES_LENGTH_BAD 173 |
| #define DW_DLE_DEBUG_WEAKNAMES_NULL 171 |
Definition at line 468 of file libdwarf.h.
| #define DW_DLE_DEBUG_WEAKNAMES_VERSION_ERROR 172 |
| #define DW_DLE_DEBUGFRAME_ERROR 83 |
| #define DW_DLE_DEBUGINFO_ERROR 84 |
| #define DW_DLE_DEBUGLINE_ERROR 82 |
| #define DW_DLE_DEBUGMACINFO_ERROR 181 |
| #define DW_DLE_DF_ALLOC_FAIL 192 |
| #define DW_DLE_DF_FRAME_DECODING_ERROR 193 |
| #define DW_DLE_DF_MAKE_INSTR_NO_INIT 189 |
| #define DW_DLE_DF_NEW_LOC_LESS_OLD_LOC 190 |
| #define DW_DLE_DF_NO_CIE_AUGMENTATION 187 |
| #define DW_DLE_DF_POP_EMPTY_STACK 191 |
| #define DW_DLE_DF_REG_NUM_TOO_HIGH 188 |
| #define DW_DLE_DIE_ABBREV_BAD 113 |
| #define DW_DLE_DIE_ABBREV_LIST_NULL 151 |
| #define DW_DLE_DIE_ALLOC 79 |
| #define DW_DLE_DIE_BAD 112 |
Definition at line 409 of file libdwarf.h.
Referenced by _dwarf_die_attr_unsigned_constant(), dwarf_attr(), dwarf_child(), dwarf_diename(), dwarf_hasattr(), dwarf_highpc(), and dwarf_lowpc().
| #define DW_DLE_DIE_LOC_EXPR_BAD 129 |
Definition at line 426 of file libdwarf.h.
| #define DW_DLE_DIE_NO_CU_CONTEXT 104 |
Definition at line 401 of file libdwarf.h.
| #define DW_DLE_DIE_NULL 52 |
Definition at line 349 of file libdwarf.h.
Referenced by _dwarf_add_simple_name_entry(), _dwarf_pro_add_AT_fde(), _dwarf_pro_add_AT_macro_info(), dwarf_add_AT_comp_dir(), dwarf_add_AT_const_value_signedint(), dwarf_add_AT_const_value_string(), dwarf_add_AT_const_value_unsignedint(), dwarf_add_AT_flag(), dwarf_add_AT_location_expr(), dwarf_add_AT_name(), dwarf_add_AT_producer(), dwarf_add_AT_reference(), dwarf_add_AT_signed_const(), dwarf_add_AT_string(), dwarf_add_AT_targ_address_b(), dwarf_add_AT_unsigned_const(), dwarf_add_die_to_debug(), dwarf_get_fde_for_die(), dwf_add_AT_complex_const(), and dwf_add_AT_unsigned_const_ext().
| #define DW_DLE_DIR_INDEX_BAD 127 |
| #define DW_DLE_DWARF_ABBREV_NULL 110 |
Definition at line 407 of file libdwarf.h.
Referenced by dwarf_get_abbrev(), dwarf_get_abbrev_children_flag(), dwarf_get_abbrev_code(), dwarf_get_abbrev_entry(), and dwarf_get_abbrev_tag().
| #define DW_DLE_DWARF_LINE_NULL 59 |
Definition at line 356 of file libdwarf.h.
Referenced by dwarf_lineaddr(), dwarf_linebeginstatement(), dwarf_lineblock(), dwarf_lineendsequence(), dwarf_lineno(), dwarf_lineoff(), and dwarf_linesrc().
| #define DW_DLE_ELF_BEGIN_ERROR 27 |
| #define DW_DLE_ELF_GETEHDR_ERROR 28 |
| #define DW_DLE_ELF_GETIDENT_ERROR 148 |
| #define DW_DLE_ELF_GETSHDR_ERROR 29 |
| #define DW_DLE_ELF_SECT_ERR 88 |
Definition at line 385 of file libdwarf.h.
Referenced by _dwarf_stream_relocs_to_disk(), _dwarf_symbolic_relocs_to_disk(), and dwarf_transform_to_disk_form().
| #define DW_DLE_ELF_STRPTR_ERROR 30 |
| #define DW_DLE_EOLL 17 |
Definition at line 312 of file libdwarf.h.
| #define DW_DLE_EOS 20 |
Definition at line 315 of file libdwarf.h.
| #define DW_DLE_EXPR_LENGTH_BAD 146 |
Definition at line 443 of file libdwarf.h.
Referenced by dwarf_add_expr_addr_b(), and dwarf_add_expr_gen().
| #define DW_DLE_EXPR_NULL 144 |
Definition at line 441 of file libdwarf.h.
Referenced by dwarf_add_AT_location_expr(), dwarf_add_expr_addr_b(), dwarf_add_expr_gen(), dwarf_expr_current_offset(), and dwarf_expr_into_block().
| #define DW_DLE_EXTRA_NEIGHBORS 77 |
| #define DW_DLE_FDE_ALLOC 73 |
| #define DW_DLE_FDE_DBG_NULL 93 |
Definition at line 390 of file libdwarf.h.
Referenced by _dwarf_get_fde_info_for_a_pc_row(), dwarf_get_fde_at_pc(), dwarf_get_fde_exception_info(), dwarf_get_fde_instr_bytes(), dwarf_get_fde_n(), and dwarf_get_fde_range().
| #define DW_DLE_FDE_NULL 92 |
Definition at line 389 of file libdwarf.h.
Referenced by _dwarf_get_fde_info_for_a_pc_row(), dwarf_get_cie_of_fde(), dwarf_get_fde_at_pc(), dwarf_get_fde_instr_bytes(), dwarf_get_fde_n(), and dwarf_get_fde_range().
| #define DW_DLE_FDE_PTR_NULL 100 |
Definition at line 397 of file libdwarf.h.
Referenced by dwarf_get_fde_at_pc(), and dwarf_get_fde_n().
| #define DW_DLE_FILE_ENTRY_ALLOC 65 |
| #define DW_DLE_FIRST_DIE_NOT_CU 105 |
| #define DW_DLE_FNO 12 |
Definition at line 307 of file libdwarf.h.
| #define DW_DLE_FNR 13 |
Definition at line 308 of file libdwarf.h.
| #define DW_DLE_FPGM_ALLOC 67 |
Definition at line 364 of file libdwarf.h.
Referenced by dwarf_add_fde_inst(), and dwarf_fde_cfa_offset().
| #define DW_DLE_FRAME_INSTR_EXEC_ERROR 99 |
Definition at line 396 of file libdwarf.h.
| #define DW_DLE_FRAME_TABLE_COL_BAD 96 |
| #define DW_DLE_FRAME_VERSION_BAD 90 |
Definition at line 387 of file libdwarf.h.
Referenced by __dwarf_get_fde_list_internal(), dwarf_get_fde_for_die(), and get_augmentation_string().
| #define DW_DLE_FSTAT_ERROR 24 |
| #define DW_DLE_FSTAT_MODE_ERROR 25 |
| #define DW_DLE_FUNC_CONTEXT_NULL 157 |
Definition at line 454 of file libdwarf.h.
| #define DW_DLE_FUNC_NULL 156 |
| #define DW_DLE_FWA 14 |
Definition at line 309 of file libdwarf.h.
| #define DW_DLE_GLOBAL_CONTEXT_NULL 126 |
Definition at line 423 of file libdwarf.h.
Referenced by dwarf_global_cu_offset(), dwarf_global_die_offset(), and dwarf_global_name_offsets().
| #define DW_DLE_GLOBAL_NULL 125 |
Definition at line 422 of file libdwarf.h.
Referenced by dwarf_global_cu_offset(), dwarf_global_die_offset(), dwarf_global_name_offsets(), and dwarf_globname().
| #define DW_DLE_IA 9 |
Definition at line 304 of file libdwarf.h.
Referenced by dwarf_get_section_bytes(), dwarf_producer_finish(), and dwarf_transform_to_disk_form().
| #define DW_DLE_ID 6 |
Definition at line 301 of file libdwarf.h.
| #define DW_DLE_INCDIR_ALLOC 68 |
| #define DW_DLE_INCL_DIR_NUM_BAD 60 |
| #define DW_DLE_INIT_ACCESS_WRONG 26 |
| #define DW_DLE_INPUT_ATTR_BAD 143 |
Definition at line 440 of file libdwarf.h.
Referenced by dwarf_add_AT_flag(), dwarf_add_AT_location_expr(), dwarf_add_AT_reference(), dwarf_add_AT_signed_const(), dwarf_add_AT_string(), dwarf_add_AT_targ_address_b(), dwarf_add_AT_unsigned_const(), dwf_add_AT_complex_const(), and dwf_add_AT_unsigned_const_ext().
| #define DW_DLE_IOF 7 |
Definition at line 302 of file libdwarf.h.
| #define DW_DLE_LAST 195 |
Definition at line 495 of file libdwarf.h.
| #define DW_DLE_LAST_CHILD_ISNT 195 |
| #define DW_DLE_LEE 3 |
Definition at line 298 of file libdwarf.h.
| #define DW_DLE_LINE_ALLOC 66 |
Definition at line 363 of file libdwarf.h.
Referenced by _dwarf_pro_add_line_entry(), and _dwarf_pro_generate_debugline().
| #define DW_DLE_LINE_CONTEXT_NULL 102 |
| #define DW_DLE_LINE_EXT_OPCODE_BAD 58 |
Definition at line 355 of file libdwarf.h.
Referenced by _dwarf_internal_printlines(), _dwarf_internal_srclines(), and _dwarf_update_line_sec().
| #define DW_DLE_LINE_FILE_NUM_BAD 61 |
| #define DW_DLE_LINE_NUM_OPERANDS_BAD 56 |
Definition at line 353 of file libdwarf.h.
Referenced by _dwarf_internal_printlines(), _dwarf_internal_srclines(), and _dwarf_update_line_sec().
| #define DW_DLE_LINE_OFFSET_BAD 120 |
Definition at line 417 of file libdwarf.h.
Referenced by _dwarf_internal_printlines(), _dwarf_internal_srclines(), and dwarf_srcfiles().
| #define DW_DLE_LINE_PROLOG_LENGTH_BAD 55 |
Definition at line 352 of file libdwarf.h.
Referenced by _dwarf_internal_printlines(), _dwarf_internal_srclines(), _dwarf_update_line_sec(), and dwarf_srcfiles().
| #define DW_DLE_LINE_SET_ADDR_ERROR 57 |
Definition at line 354 of file libdwarf.h.
Referenced by _dwarf_internal_printlines(), _dwarf_internal_srclines(), and _dwarf_update_line_sec().
| #define DW_DLE_LO_USER 0x10000 |
Definition at line 496 of file libdwarf.h.
| #define DW_DLE_LOC_EXPR_BAD 128 |
Definition at line 425 of file libdwarf.h.
Referenced by _dwarf_get_locdesc(), _dwarf_setup_loc(), and dwarf_add_AT_location_expr().
| #define DW_DLE_LOCDESC_COUNT_WRONG 176 |
| #define DW_DLE_MACINFO_INTERNAL_ERROR_SPACE 179 |
Definition at line 476 of file libdwarf.h.
Referenced by libdwarf_compose_add_line(), and libdwarf_compose_complete().
| #define DW_DLE_MACINFO_MALLOC_FAIL 180 |
| #define DW_DLE_MACINFO_STRING_EMPTY 178 |
Definition at line 475 of file libdwarf.h.
Referenced by dwarf_def_macro(), dwarf_undef_macro(), and dwarf_vendor_ext().
| #define DW_DLE_MACINFO_STRING_NULL 177 |
Definition at line 474 of file libdwarf.h.
Referenced by dwarf_def_macro(), dwarf_undef_macro(), and dwarf_vendor_ext().
| #define DW_DLE_MAF 8 |
| #define DW_DLE_MAKE_CU_CONTEXT_FAIL 132 |
Definition at line 429 of file libdwarf.h.
| #define DW_DLE_MAP 2 |
Definition at line 297 of file libdwarf.h.
| #define DW_DLE_MDE 10 |
| #define DW_DLE_MLE 11 |
Definition at line 306 of file libdwarf.h.
| #define DW_DLE_MOF 16 |
Definition at line 311 of file libdwarf.h.
| #define DW_DLE_MULTIPLE_RELOC_IN_EXPR 147 |
| #define DW_DLE_NDS 4 |
Definition at line 299 of file libdwarf.h.
| #define DW_DLE_NE 0 |
Definition at line 295 of file libdwarf.h.
| #define DW_DLE_NEXT_DIE_PTR_NULL 106 |
| #define DW_DLE_NLS 5 |
Definition at line 300 of file libdwarf.h.
| #define DW_DLE_NO_AT_MIPS_FDE 149 |
Definition at line 446 of file libdwarf.h.
| #define DW_DLE_NO_CALLBACK_FUNC 63 |
Definition at line 360 of file libdwarf.h.
Referenced by dwarf_producer_init(), and dwarf_producer_init_b().
| #define DW_DLE_NO_CIE_FOR_FDE 150 |
Definition at line 447 of file libdwarf.h.
Referenced by __dwarf_get_fde_list_internal(), and dwarf_get_fde_for_die().
| #define DW_DLE_NO_COMP_DIR 141 |
Definition at line 438 of file libdwarf.h.
| #define DW_DLE_NO_FILE_NAME 140 |
| #define DW_DLE_NOB 15 |
Definition at line 310 of file libdwarf.h.
| #define DW_DLE_NOLL 18 |
Definition at line 313 of file libdwarf.h.
| #define DW_DLE_OFFSET_BAD 131 |
| #define DW_DLE_OFFSET_UFLW 87 |
| #define DW_DLE_PARENT_EXISTS 80 |
| #define DW_DLE_PC_NOT_IN_FDE_RANGE 97 |
| #define DW_DLE_PUBNAMES_LENGTH_BAD 124 |
| #define DW_DLE_PUBNAMES_VERSION_ERROR 123 |
| #define DW_DLE_REGNO_OVFL 74 |
| #define DW_DLE_REL_ALLOC 133 |
Definition at line 430 of file libdwarf.h.
Referenced by _dwarf_pro_generate_debuginfo(), and dwarf_get_relocation_info().
| #define DW_DLE_RET_OP_LIST_NULL 101 |
| #define DW_DLE_SECT_ALLOC 64 |
Definition at line 361 of file libdwarf.h.
| #define DW_DLE_SEGMENT_SIZE_BAD 135 |
Definition at line 432 of file libdwarf.h.
Referenced by _dwarf_get_aranges_addr_offsets(), and dwarf_get_aranges().
| #define DW_DLE_STRING_ALLOC 69 |
Definition at line 366 of file libdwarf.h.
Referenced by dwarf_add_AT_comp_dir(), dwarf_add_AT_name(), dwarf_add_directory_decl(), dwarf_add_fde_inst(), and dwarf_fde_cfa_offset().
| #define DW_DLE_STRING_OFFSET_BAD 53 |
| #define DW_DLE_STRING_PTR_NULL 122 |
| #define DW_DLE_TYPE_CONTEXT_NULL 163 |
Definition at line 460 of file libdwarf.h.
| #define DW_DLE_TYPE_NULL 162 |
| #define DW_DLE_VAR_CONTEXT_NULL 169 |
Definition at line 466 of file libdwarf.h.
| #define DW_DLE_VAR_NULL 168 |
| #define DW_DLE_VERSION_STAMP_ERROR 48 |
Definition at line 345 of file libdwarf.h.
Referenced by _dwarf_get_aranges_addr_offsets(), _dwarf_internal_printlines(), _dwarf_internal_srclines(), _dwarf_make_CU_Context(), _dwarf_update_line_sec(), dwarf_get_aranges(), and dwarf_srcfiles().
| #define DW_DLE_VMM 1 |
Definition at line 296 of file libdwarf.h.
| #define DW_DLE_WEAK_CONTEXT_NULL 175 |
Definition at line 472 of file libdwarf.h.
| #define DW_DLE_WEAK_NULL 174 |
| #define DW_DLE_WRONG_ADDRESS 76 |
| #define DW_DLE_WRONG_TAG 78 |
| #define DW_DLS_BACKWARD -1 |
Definition at line 289 of file libdwarf.h.
| #define DW_DLS_FORWARD 1 |
Definition at line 291 of file libdwarf.h.
| #define DW_DLS_NOSLIDE 0 |
Definition at line 290 of file libdwarf.h.
| #define DW_DLV_BADADDR (~(Dwarf_Addr)0) |
Definition at line 516 of file libdwarf.h.
Referenced by dwarf_add_AT_comp_dir(), dwarf_add_AT_const_value_signedint(), dwarf_add_AT_const_value_string(), dwarf_add_AT_const_value_unsignedint(), dwarf_add_AT_flag(), dwarf_add_AT_location_expr(), dwarf_add_AT_name(), dwarf_add_AT_producer(), dwarf_add_AT_reference(), dwarf_add_AT_signed_const(), dwarf_add_AT_string(), dwarf_add_AT_targ_address_b(), dwarf_add_AT_unsigned_const(), dwarf_add_fde_inst(), dwarf_die_link(), dwarf_expr_into_block(), dwarf_fde_cfa_offset(), dwarf_new_die(), dwarf_new_fde(), dwarf_producer_init(), dwarf_producer_init_b(), dwf_add_AT_complex_const(), and dwf_add_AT_unsigned_const_ext().
| #define DW_DLV_BADOFFSET (~(Dwarf_Off)0) |
| #define DW_DLV_ERROR 1 |
Definition at line 528 of file libdwarf.h.
| #define DW_DLV_NO_ENTRY -1 |
Definition at line 526 of file libdwarf.h.
| #define DW_DLV_NOCOUNT ((Dwarf_Signed)-1) |
Definition at line 519 of file libdwarf.h.
Referenced by _dwarf_pro_add_AT_fde(), _dwarf_pro_add_AT_macro_info(), _dwarf_pro_add_AT_stmt_list(), _dwarf_pro_add_line_entry(), dwarf_add_die_to_debug(), dwarf_add_directory_decl(), dwarf_add_expr_addr_b(), dwarf_add_expr_gen(), dwarf_add_file_decl(), dwarf_add_frame_cie(), dwarf_expr_current_offset(), dwarf_producer_finish(), dwarf_transform_to_disk_form(), dwf_add_ehframe_cie(), and Em_Dwarf_Prepare_Output().
| #define DW_DLV_OK 0 |
Definition at line 527 of file libdwarf.h.
| #define DW_DLX_EH_OFFSET_UNAVAILABLE (-2LL) |
| #define DW_DLX_NO_EH_OFFSET (-1LL) |
Definition at line 533 of file libdwarf.h.
Referenced by __dwarf_get_fde_list_internal(), Cg_Dwarf_Process_PU(), dwarf_add_frame_fde_b(), dwarf_get_fde_for_die(), dwf_add_ehframe_fde_b(), Em_Dwarf_Process_PU(), EMT_Emit_PU(), and print_frames().
| #define DW_FRAME_SAME_VAL 1035 |
Definition at line 510 of file libdwarf.h.
Referenced by _dwarf_exec_frame_instr(), _dwarf_get_fde_info_for_a_pc_row(), _xlate_expand_reg_info_internal_given_ptrs(), and print_frames().
| #define DW_FRAME_UNDEFINED_VAL 1034 |
Definition at line 503 of file libdwarf.h.
Referenced by _dwarf_exec_frame_instr(), _xlate_expand_reg_info_internal_given_ptrs(), and print_frames().
| #define DW_REG_TABLE_SIZE 66 |
Definition at line 153 of file libdwarf.h.
Referenced by _xlate_expand_reg_info_internal_given_ptrs(), and dwarf_get_fde_info_for_all_regs().
| #define DWARF_DRD_BUFFER_VERSION 2 |
| typedef struct Dwarf_Abbrev_s* Dwarf_Abbrev |
Definition at line 212 of file libdwarf.h.
| typedef unsigned long long Dwarf_Addr |
Definition at line 101 of file libdwarf.h.
| typedef struct Dwarf_Arange_s* Dwarf_Arange |
Definition at line 215 of file libdwarf.h.
| typedef struct Dwarf_Attribute_s* Dwarf_Attribute |
Definition at line 211 of file libdwarf.h.
| typedef int Dwarf_Bool |
Definition at line 95 of file libdwarf.h.
| typedef int(* Dwarf_Callback_Func)(char *, int, Dwarf_Unsigned, Dwarf_Unsigned, Dwarf_Unsigned, Dwarf_Unsigned, int *, int *) |
Definition at line 1231 of file libdwarf.h.
| typedef int(* Dwarf_Callback_Func_b)(char *, int, Dwarf_Unsigned, Dwarf_Unsigned, Dwarf_Unsigned, Dwarf_Unsigned, Dwarf_Unsigned *, int *) |
Definition at line 1248 of file libdwarf.h.
| typedef struct Dwarf_Cie_s* Dwarf_Cie |
Definition at line 214 of file libdwarf.h.
| typedef struct Dwarf_Debug_s* Dwarf_Debug |
Definition at line 202 of file libdwarf.h.
| typedef struct Dwarf_Die_s* Dwarf_Die |
Definition at line 203 of file libdwarf.h.
| typedef struct Elf* dwarf_elf_handle |
Definition at line 71 of file libdwarf.h.
| typedef struct Dwarf_Error_s* Dwarf_Error |
Definition at line 210 of file libdwarf.h.
| typedef struct Dwarf_Fde_s* Dwarf_Fde |
Definition at line 213 of file libdwarf.h.
| typedef struct Dwarf_Func_s* Dwarf_Func |
Definition at line 206 of file libdwarf.h.
| typedef struct Dwarf_Global_s* Dwarf_Global |
Definition at line 205 of file libdwarf.h.
| typedef unsigned short Dwarf_Half |
Definition at line 98 of file libdwarf.h.
| typedef void(* Dwarf_Handler)(Dwarf_Error, Dwarf_Ptr) |
Definition at line 228 of file libdwarf.h.
| typedef struct Dwarf_Line_s* Dwarf_Line |
Definition at line 204 of file libdwarf.h.
Definition at line 1176 of file libdwarf.h.
Definition at line 96 of file libdwarf.h.
| typedef struct Dwarf_P_Attribute_s* Dwarf_P_Attribute |
Definition at line 220 of file libdwarf.h.
| typedef struct Dwarf_P_Debug_s* Dwarf_P_Debug |
Definition at line 218 of file libdwarf.h.
| typedef struct Dwarf_P_Die_s* Dwarf_P_Die |
Definition at line 219 of file libdwarf.h.
| typedef struct Dwarf_P_Expr_s* Dwarf_P_Expr |
Definition at line 222 of file libdwarf.h.
| typedef struct Dwarf_P_Fde_s* Dwarf_P_Fde |
Definition at line 221 of file libdwarf.h.
Definition at line 103 of file libdwarf.h.
Definition at line 190 of file libdwarf.h.
| typedef signed long long Dwarf_Signed |
Definition at line 100 of file libdwarf.h.
| typedef unsigned char Dwarf_Small |
Definition at line 99 of file libdwarf.h.
| typedef Dwarf_Unsigned Dwarf_Tag |
Definition at line 223 of file libdwarf.h.
| typedef struct Dwarf_Type_s* Dwarf_Type |
Definition at line 207 of file libdwarf.h.
| typedef unsigned long long Dwarf_Unsigned |
Definition at line 97 of file libdwarf.h.
Definition at line 208 of file libdwarf.h.
| typedef struct Dwarf_Weak_s* Dwarf_Weak |
Definition at line 209 of file libdwarf.h.
| enum Dwarf_Rel_Type |
Definition at line 169 of file libdwarf.h.
| int _dwarf_cie_section_offset | ( | Dwarf_Debug | dbg, | |
| Dwarf_Cie | in_cie, | |||
| Dwarf_Off * | cie_off, | |||
| Dwarf_Error * | err | |||
| ) |
Definition at line 2447 of file dwarf_frame.c.
References _dwarf_load_section(), Dwarf_Cie_s::ci_cie_start, Dwarf_Debug_s::de_debug_frame, Dwarf_Debug_s::de_debug_frame_index, DW_DLV_OK, and start.
Referenced by print_frames().
| int _dwarf_fde_section_offset | ( | Dwarf_Debug | dbg, | |
| Dwarf_Fde | in_fde, | |||
| Dwarf_Off * | fde_off, | |||
| Dwarf_Off * | cie_off, | |||
| Dwarf_Error * | err | |||
| ) |
Definition at line 2417 of file dwarf_frame.c.
References _dwarf_load_section(), Dwarf_Debug_s::de_debug_frame, Dwarf_Debug_s::de_debug_frame_index, DW_DLV_OK, Dwarf_Fde_s::fd_cie_offset, Dwarf_Fde_s::fd_fde_start, and start.
Referenced by print_frames().
| int _dwarf_ld_sort_lines | ( | void * | orig_buffer, | |
| unsigned long | buffer_len, | |||
| int | is_64_bit, | |||
| int * | any_change, | |||
| int * | err_code | |||
| ) |
Definition at line 107 of file dwarf_sort_line.c.
References _dwarf_update_line_sec(), bytes_used, DW_DLE_ALLOC_FAIL, DW_DLV_ERROR, DW_DLV_OK, free(), line_ptr, malloc, and memcpy.
| int _dwarf_print_lines | ( | Dwarf_Die | cu_die, | |
| Dwarf_Error * | ||||
| ) |
Definition at line 661 of file dwarf_print_lines.c.
References _dwarf_internal_printlines(), and DW_DLV_OK.
Referenced by print_line_numbers_this_cu().
| Dwarf_Unsigned dwarf_add_arange | ( | Dwarf_P_Debug | , | |
| Dwarf_Addr | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Signed | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 63 of file pro_arange.c.
References dwarf_add_arange_b().
Referenced by Em_Dwarf_End_Text_Arange().
| Dwarf_Unsigned dwarf_add_arange_b | ( | Dwarf_P_Debug | , | |
| Dwarf_Addr | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Addr | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 81 of file pro_arange.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), Dwarf_P_Arange_s::ag_begin_address, Dwarf_P_Arange_s::ag_end_symbol_index, Dwarf_P_Arange_s::ag_end_symbol_offset, Dwarf_P_Arange_s::ag_length, Dwarf_P_Arange_s::ag_next, Dwarf_P_Arange_s::ag_symbol_index, Dwarf_P_Debug_s::de_arange, Dwarf_P_Debug_s::de_arange_count, Dwarf_P_Debug_s::de_last_arange, DW_DLE_ALLOC_FAIL, DW_DLE_DBG_NULL, and NULL.
Referenced by dwarf_add_arange(), and Em_Dwarf_End_Text_Arange_Symbolic().
| Dwarf_P_Attribute dwarf_add_AT_comp_dir | ( | Dwarf_P_Die | , | |
| char * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 299 of file pro_die.c.
References _dwarf_p_get_alloc(), _dwarf_pro_add_at_to_die(), Dwarf_P_Attribute_s::ar_attribute, Dwarf_P_Attribute_s::ar_attribute_form, Dwarf_P_Attribute_s::ar_data, Dwarf_P_Attribute_s::ar_nbytes, Dwarf_P_Attribute_s::ar_next, Dwarf_P_Attribute_s::ar_rel_type, Dwarf_P_Attribute_s::ar_reloc_len, DW_AT_comp_dir, DW_DLE_ATTR_ALLOC, DW_DLE_DIE_NULL, DW_DLE_STRING_ALLOC, DW_DLV_BADADDR, DW_FORM_string, DWARF_P_DBG_ERROR, NULL, R_MIPS_NONE, strcpy, and strlen().
| Dwarf_P_Attribute dwarf_add_AT_const_value_signedint | ( | Dwarf_P_Die | , | |
| Dwarf_Signed | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 793 of file pro_forms.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), _dwarf_pro_add_at_to_die(), _dwarf_pro_encode_signed_leb128_nm(), Dwarf_P_Attribute_s::ar_attribute, Dwarf_P_Attribute_s::ar_attribute_form, Dwarf_P_Attribute_s::ar_data, Dwarf_P_Attribute_s::ar_nbytes, Dwarf_P_Attribute_s::ar_next, Dwarf_P_Attribute_s::ar_rel_type, Dwarf_P_Attribute_s::ar_reloc_len, DW_AT_const_value, DW_DLE_ALLOC_FAIL, DW_DLE_DIE_NULL, DW_DLV_BADADDR, DW_DLV_OK, DW_FORM_sdata, ENCODE_SPACE_NEEDED, memcpy, NULL, and R_MIPS_NONE.
| Dwarf_P_Attribute dwarf_add_AT_const_value_string | ( | Dwarf_P_Die | , | |
| char * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 713 of file pro_forms.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), _dwarf_pro_add_at_to_die(), Dwarf_P_Attribute_s::ar_attribute, Dwarf_P_Attribute_s::ar_attribute_form, Dwarf_P_Attribute_s::ar_data, Dwarf_P_Attribute_s::ar_nbytes, Dwarf_P_Attribute_s::ar_next, Dwarf_P_Attribute_s::ar_rel_type, Dwarf_P_Attribute_s::ar_reloc_len, DW_AT_const_value, DW_DLE_ALLOC_FAIL, DW_DLE_DIE_NULL, DW_DLV_BADADDR, DW_FORM_string, NULL, R_MIPS_NONE, strcpy, and strlen().
| Dwarf_P_Attribute dwarf_add_AT_const_value_unsignedint | ( | Dwarf_P_Die | , | |
| Dwarf_Unsigned | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 843 of file pro_forms.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), _dwarf_pro_add_at_to_die(), _dwarf_pro_encode_leb128_nm(), Dwarf_P_Attribute_s::ar_attribute, Dwarf_P_Attribute_s::ar_attribute_form, Dwarf_P_Attribute_s::ar_data, Dwarf_P_Attribute_s::ar_nbytes, Dwarf_P_Attribute_s::ar_next, Dwarf_P_Attribute_s::ar_rel_type, Dwarf_P_Attribute_s::ar_reloc_len, DW_AT_const_value, DW_DLE_ALLOC_FAIL, DW_DLE_DIE_NULL, DW_DLV_BADADDR, DW_DLV_OK, DW_FORM_udata, ENCODE_SPACE_NEEDED, memcpy, NULL, and R_MIPS_NONE.
| Dwarf_P_Attribute dwarf_add_AT_flag | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Die | , | |||
| Dwarf_Half | , | |||
| Dwarf_Small | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 582 of file pro_forms.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), _dwarf_pro_add_at_to_die(), Dwarf_P_Attribute_s::ar_attribute, Dwarf_P_Attribute_s::ar_attribute_form, Dwarf_P_Attribute_s::ar_data, Dwarf_P_Attribute_s::ar_nbytes, Dwarf_P_Attribute_s::ar_next, Dwarf_P_Attribute_s::ar_rel_type, Dwarf_P_Attribute_s::ar_reloc_len, DW_AT_artificial, DW_AT_declaration, DW_AT_external, DW_AT_GNU_vector, DW_AT_is_optional, DW_AT_MIPS_assumed_size, DW_AT_MIPS_has_inlines, DW_AT_prototyped, DW_AT_variable_parameter, DW_DLE_ALLOC_FAIL, DW_DLE_DBG_NULL, DW_DLE_DIE_NULL, DW_DLE_INPUT_ATTR_BAD, DW_DLV_BADADDR, DW_FORM_flag, memcpy, NULL, and R_MIPS_NONE.
| Dwarf_P_Attribute dwarf_add_AT_location_expr | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Die | , | |||
| Dwarf_Half | , | |||
| Dwarf_P_Expr | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 366 of file pro_forms.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), _dwarf_pro_add_at_to_die(), _dwarf_pro_encode_leb128_nm(), Dwarf_P_Attribute_s::ar_attribute, Dwarf_P_Attribute_s::ar_attribute_form, Dwarf_P_Attribute_s::ar_data, Dwarf_P_Attribute_s::ar_nbytes, Dwarf_P_Attribute_s::ar_next, Dwarf_P_Attribute_s::ar_rel_offset, Dwarf_P_Attribute_s::ar_rel_symidx, Dwarf_P_Attribute_s::ar_rel_type, Dwarf_P_Attribute_s::ar_reloc_len, Dwarf_P_Debug_s::de_pointer_size, Dwarf_P_Debug_s::de_ptr_reloc, DW_AT_const_value, DW_AT_data_member_location, DW_AT_frame_base, DW_AT_location, DW_AT_return_addr, DW_AT_static_link, DW_AT_string_length, DW_AT_use_location, DW_AT_vtable_elem_location, DW_DLE_ALLOC_FAIL, DW_DLE_DBG_NULL, DW_DLE_DIE_NULL, DW_DLE_EXPR_NULL, DW_DLE_INPUT_ATTR_BAD, DW_DLE_LOC_EXPR_BAD, DW_DLV_BADADDR, DW_DLV_OK, DW_FORM_block, DW_FORM_block1, DW_FORM_block2, DW_FORM_block4, ENCODE_SPACE_NEEDED, Dwarf_P_Expr_s::ex_byte_stream, Dwarf_P_Expr_s::ex_dbg, Dwarf_P_Expr_s::ex_next_byte_offset, Dwarf_P_Expr_s::ex_reloc_offset, Dwarf_P_Expr_s::ex_reloc_sym_index, memcpy, NO_ELF_SYM_INDEX, NULL, R_MIPS_NONE, UCHAR_MAX, UINT_MAX, USHRT_MAX, and WRITE_UNALIGNED.
Referenced by Cg_Dwarf_Process_PU(), put_inheritance(), put_location(), put_member(), and put_subprogram().
| Dwarf_P_Attribute dwarf_add_AT_name | ( | Dwarf_P_Die | , | |
| char * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 257 of file pro_die.c.
References _dwarf_p_get_alloc(), _dwarf_pro_add_at_to_die(), Dwarf_P_Attribute_s::ar_attribute, Dwarf_P_Attribute_s::ar_attribute_form, Dwarf_P_Attribute_s::ar_data, Dwarf_P_Attribute_s::ar_nbytes, Dwarf_P_Attribute_s::ar_next, Dwarf_P_Attribute_s::ar_rel_type, Dwarf_P_Attribute_s::ar_reloc_len, DW_AT_name, DW_DLE_ATTR_ALLOC, DW_DLE_DIE_NULL, DW_DLE_STRING_ALLOC, DW_DLV_BADADDR, DW_FORM_string, DWARF_P_DBG_ERROR, NULL, R_MIPS_NONE, strcpy, and strlen().
| Dwarf_P_Attribute dwarf_add_AT_producer | ( | Dwarf_P_Die | , | |
| char * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 753 of file pro_forms.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), _dwarf_pro_add_at_to_die(), Dwarf_P_Attribute_s::ar_attribute, Dwarf_P_Attribute_s::ar_attribute_form, Dwarf_P_Attribute_s::ar_data, Dwarf_P_Attribute_s::ar_nbytes, Dwarf_P_Attribute_s::ar_next, Dwarf_P_Attribute_s::ar_rel_type, Dwarf_P_Attribute_s::ar_reloc_len, DW_AT_producer, DW_DLE_ALLOC_FAIL, DW_DLE_DIE_NULL, DW_DLV_BADADDR, DW_FORM_string, NULL, R_MIPS_NONE, strcpy, and strlen().
| Dwarf_P_Attribute dwarf_add_AT_reference | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Die | , | |||
| Dwarf_Half | , | |||
| Dwarf_P_Die | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 505 of file pro_forms.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), _dwarf_pro_add_at_to_die(), Dwarf_P_Attribute_s::ar_attribute, Dwarf_P_Attribute_s::ar_attribute_form, Dwarf_P_Attribute_s::ar_nbytes, Dwarf_P_Attribute_s::ar_next, Dwarf_P_Attribute_s::ar_ref_die, Dwarf_P_Attribute_s::ar_rel_type, Dwarf_P_Attribute_s::ar_reloc_len, Dwarf_P_Debug_s::de_ar_ref_attr_form, Dwarf_P_Debug_s::de_offset_size, DW_AT_abstract_origin, DW_AT_common_reference, DW_AT_containing_type, DW_AT_count, DW_AT_default_value, DW_AT_discr, DW_AT_friend, DW_AT_import, DW_AT_lower_bound, DW_AT_MIPS_allocatable_dopetype, DW_AT_MIPS_assumed_shape_dopetype, DW_AT_MIPS_clone_origin, DW_AT_MIPS_ptr_dopetype, DW_AT_MIPS_stride, DW_AT_MIPS_stride_byte, DW_AT_MIPS_stride_elem, DW_AT_priority, DW_AT_sibling, DW_AT_specification, DW_AT_type, DW_AT_upper_bound, DW_DLE_ALLOC_FAIL, DW_DLE_DBG_NULL, DW_DLE_DIE_NULL, DW_DLE_INPUT_ATTR_BAD, DW_DLV_BADADDR, NULL, and R_MIPS_NONE.
Referenced by _dwarf_pro_generate_debuginfo(), and put_reference().
| Dwarf_P_Attribute dwarf_add_AT_signed_const | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Die | , | |||
| Dwarf_Half | , | |||
| Dwarf_Signed | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 260 of file pro_forms.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), _dwarf_pro_add_at_to_die(), _dwarf_pro_encode_signed_leb128_nm(), Dwarf_P_Attribute_s::ar_attribute, Dwarf_P_Attribute_s::ar_attribute_form, Dwarf_P_Attribute_s::ar_data, Dwarf_P_Attribute_s::ar_nbytes, Dwarf_P_Attribute_s::ar_next, Dwarf_P_Attribute_s::ar_rel_type, Dwarf_P_Attribute_s::ar_reloc_len, DW_AT_lower_bound, DW_AT_upper_bound, DW_DLE_ALLOC_FAIL, DW_DLE_DBG_NULL, DW_DLE_DIE_NULL, DW_DLE_INPUT_ATTR_BAD, DW_DLV_BADADDR, DW_DLV_OK, DW_FORM_data1, DW_FORM_data2, DW_FORM_data4, DW_FORM_data8, DW_FORM_sdata, ENCODE_SPACE_NEEDED, INT_MAX, INT_MIN, memcpy, NULL, R_MIPS_NONE, SCHAR_MAX, SCHAR_MIN, SHRT_MAX, SHRT_MIN, size, and WRITE_UNALIGNED.
Referenced by put_lower_bound(), and put_subrange_type().
| Dwarf_P_Attribute dwarf_add_AT_string | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Die | , | |||
| Dwarf_Half | , | |||
| const char * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 652 of file pro_forms.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), _dwarf_pro_add_at_to_die(), Dwarf_P_Attribute_s::ar_attribute, Dwarf_P_Attribute_s::ar_attribute_form, Dwarf_P_Attribute_s::ar_data, Dwarf_P_Attribute_s::ar_nbytes, Dwarf_P_Attribute_s::ar_next, Dwarf_P_Attribute_s::ar_rel_type, Dwarf_P_Attribute_s::ar_reloc_len, DW_AT_comp_dir, DW_AT_const_value, DW_AT_MIPS_abstract_name, DW_AT_MIPS_linkage_name, DW_AT_name, DW_AT_producer, DW_DLE_ALLOC_FAIL, DW_DLE_DBG_NULL, DW_DLE_DIE_NULL, DW_DLE_INPUT_ATTR_BAD, DW_DLV_BADADDR, DW_FORM_string, NULL, R_MIPS_NONE, strcpy, and strlen().
Referenced by put_compile_unit(), and put_string().
| Dwarf_P_Attribute dwarf_add_AT_targ_address | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Die | , | |||
| Dwarf_Half | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Signed | , | |||
| Dwarf_Error * | ||||
| ) |
| Dwarf_P_Attribute dwarf_add_AT_targ_address_b | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Die | , | |||
| Dwarf_Half | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 87 of file pro_forms.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), _dwarf_pro_add_at_to_die(), Dwarf_P_Attribute_s::ar_attribute, Dwarf_P_Attribute_s::ar_attribute_form, Dwarf_P_Attribute_s::ar_data, Dwarf_P_Attribute_s::ar_nbytes, Dwarf_P_Attribute_s::ar_next, Dwarf_P_Attribute_s::ar_rel_symidx, Dwarf_P_Attribute_s::ar_rel_type, Dwarf_P_Attribute_s::ar_reloc_len, Dwarf_P_Debug_s::de_pointer_size, Dwarf_P_Debug_s::de_ptr_reloc, DW_AT_high_pc, DW_AT_low_pc, DW_AT_MIPS_epilog_begin, DW_AT_MIPS_loop_begin, DW_AT_MIPS_tail_loop_begin, DW_DLE_ALLOC_FAIL, DW_DLE_DBG_NULL, DW_DLE_DIE_NULL, DW_DLE_INPUT_ATTR_BAD, DW_DLV_BADADDR, DW_FORM_addr, NO_ELF_SYM_INDEX, NULL, R_MIPS_NONE, and WRITE_UNALIGNED.
Referenced by dwarf_add_AT_targ_address(), Em_Dwarf_Process_PU(), put_entry_point(), put_label(), and put_pc_value_symbolic().
| Dwarf_P_Attribute dwarf_add_AT_unsigned_const | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Die | , | |||
| Dwarf_Half | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 156 of file pro_forms.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), _dwarf_pro_add_at_to_die(), Dwarf_P_Attribute_s::ar_attribute, Dwarf_P_Attribute_s::ar_attribute_form, Dwarf_P_Attribute_s::ar_data, Dwarf_P_Attribute_s::ar_nbytes, Dwarf_P_Attribute_s::ar_next, Dwarf_P_Attribute_s::ar_rel_type, Dwarf_P_Attribute_s::ar_reloc_len, DW_AT_accessibility, DW_AT_address_class, DW_AT_bit_offset, DW_AT_bit_size, DW_AT_byte_size, DW_AT_calling_convention, DW_AT_const_value, DW_AT_count, DW_AT_decl_column, DW_AT_decl_file, DW_AT_decl_line, DW_AT_encoding, DW_AT_identifier_case, DW_AT_inline, DW_AT_language, DW_AT_MIPS_loop_unroll_factor, DW_AT_MIPS_software_pipeline_depth, DW_AT_ordering, DW_AT_start_scope, DW_AT_stride_size, DW_AT_virtuality, DW_AT_visibility, DW_DLE_ALLOC_FAIL, DW_DLE_DBG_NULL, DW_DLE_DIE_NULL, DW_DLE_INPUT_ATTR_BAD, DW_DLV_BADADDR, DW_FORM_data1, DW_FORM_data2, DW_FORM_data4, DW_FORM_data8, NULL, R_MIPS_NONE, size, UCHAR_MAX, UINT_MAX, USHRT_MAX, and WRITE_UNALIGNED.
Referenced by Cg_Dwarf_Process_PU(), put_array_type(), put_basetype(), put_class_type(), put_compile_unit(), put_const_attribute(), put_decl(), put_enumeration_type(), put_inheritance(), put_location(), put_member(), put_pointer_type(), put_reference_type(), put_string_type(), put_structure_type(), put_subprogram(), and put_union_type().
| Dwarf_Unsigned dwarf_add_die_to_debug | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Die | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 203 of file pro_die.c.
References Dwarf_P_Debug_s::de_dies, Dwarf_P_Die_s::di_tag, DW_DLE_DIE_NULL, DW_DLE_WRONG_TAG, DW_DLV_NOCOUNT, DW_TAG_compile_unit, DWARF_P_DBG_ERROR, and NULL.
Referenced by Write_Attributes().
| Dwarf_Unsigned dwarf_add_directory_decl | ( | Dwarf_P_Debug | , | |
| const char * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 181 of file pro_line.c.
References _dwarf_p_get_alloc(), Dwarf_P_Debug_s::de_inc_dirs, Dwarf_P_Debug_s::de_last_inc_dir, Dwarf_P_Debug_s::de_n_inc_dirs, Dwarf_P_Inc_Dir_s::did_name, Dwarf_P_Inc_Dir_s::did_next, DW_DLE_INCDIR_ALLOC, DW_DLE_STRING_ALLOC, DW_DLV_NOCOUNT, DWARF_P_DBG_ERROR, NULL, strcpy, and strlen().
Referenced by Em_Dwarf_Add_Include().
| Dwarf_Unsigned dwarf_add_expr_addr | ( | Dwarf_P_Expr | , | |
| Dwarf_Unsigned | , | |||
| Dwarf_Signed | , | |||
| Dwarf_Error * | ||||
| ) |
| Dwarf_Unsigned dwarf_add_expr_addr_b | ( | Dwarf_P_Expr | , | |
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 457 of file pro_expr.c.
References _dwarf_p_error(), dbg, Dwarf_P_Debug_s::de_pointer_size, DW_DLE_DBG_NULL, DW_DLE_EXPR_LENGTH_BAD, DW_DLE_EXPR_NULL, DW_DLE_MULTIPLE_RELOC_IN_EXPR, DW_DLV_NOCOUNT, DW_OP_addr, Dwarf_P_Expr_s::ex_byte_stream, Dwarf_P_Expr_s::ex_dbg, Dwarf_P_Expr_s::ex_next_byte_offset, Dwarf_P_Expr_s::ex_reloc_offset, Dwarf_P_Expr_s::ex_reloc_sym_index, MAXIMUM_LOC_EXPR_LENGTH, NULL, and WRITE_UNALIGNED.
Referenced by dwarf_add_expr_addr(), and put_location().
| Dwarf_Unsigned dwarf_add_expr_gen | ( | Dwarf_P_Expr | , | |
| Dwarf_Small | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 78 of file pro_expr.c.
References _dwarf_p_error(), _dwarf_pro_encode_leb128_nm(), _dwarf_pro_encode_signed_leb128_nm(), dbg, DW_DLE_BAD_EXPR_OPCODE, DW_DLE_DBG_NULL, DW_DLE_EXPR_LENGTH_BAD, DW_DLE_EXPR_NULL, DW_DLV_NOCOUNT, DW_DLV_OK, DW_OP_abs, DW_OP_addr, DW_OP_and, DW_OP_bra, DW_OP_breg0, DW_OP_breg1, DW_OP_breg10, DW_OP_breg11, DW_OP_breg12, DW_OP_breg13, DW_OP_breg14, DW_OP_breg15, DW_OP_breg16, DW_OP_breg17, DW_OP_breg18, DW_OP_breg19, DW_OP_breg2, DW_OP_breg20, DW_OP_breg21, DW_OP_breg22, DW_OP_breg23, DW_OP_breg24, DW_OP_breg25, DW_OP_breg26, DW_OP_breg27, DW_OP_breg28, DW_OP_breg29, DW_OP_breg3, DW_OP_breg30, DW_OP_breg31, DW_OP_breg4, DW_OP_breg5, DW_OP_breg6, DW_OP_breg7, DW_OP_breg8, DW_OP_breg9, DW_OP_bregx, DW_OP_const1s, DW_OP_const1u, DW_OP_const2s, DW_OP_const2u, DW_OP_const4s, DW_OP_const4u, DW_OP_const8s, DW_OP_const8u, DW_OP_consts, DW_OP_constu, DW_OP_deref, DW_OP_deref_size, DW_OP_div, DW_OP_drop, DW_OP_dup, DW_OP_eq, DW_OP_fbreg, DW_OP_ge, DW_OP_gt, DW_OP_le, DW_OP_lit0, DW_OP_lit1, DW_OP_lit10, DW_OP_lit11, DW_OP_lit12, DW_OP_lit13, DW_OP_lit14, DW_OP_lit15, DW_OP_lit16, DW_OP_lit17, DW_OP_lit18, DW_OP_lit19, DW_OP_lit2, DW_OP_lit20, DW_OP_lit21, DW_OP_lit22, DW_OP_lit23, DW_OP_lit24, DW_OP_lit25, DW_OP_lit26, DW_OP_lit27, DW_OP_lit28, DW_OP_lit29, DW_OP_lit3, DW_OP_lit30, DW_OP_lit31, DW_OP_lit4, DW_OP_lit5, DW_OP_lit6, DW_OP_lit7, DW_OP_lit8, DW_OP_lit9, DW_OP_lt, DW_OP_minus, DW_OP_mod, DW_OP_mul, DW_OP_ne, DW_OP_neg, DW_OP_nop, DW_OP_not, DW_OP_or, DW_OP_over, DW_OP_pick, DW_OP_piece, DW_OP_plus, DW_OP_plus_uconst, DW_OP_reg0, DW_OP_reg1, DW_OP_reg10, DW_OP_reg11, DW_OP_reg12, DW_OP_reg13, DW_OP_reg14, DW_OP_reg15, DW_OP_reg16, DW_OP_reg17, DW_OP_reg18, DW_OP_reg19, DW_OP_reg2, DW_OP_reg20, DW_OP_reg21, DW_OP_reg22, DW_OP_reg23, DW_OP_reg24, DW_OP_reg25, DW_OP_reg26, DW_OP_reg27, DW_OP_reg28, DW_OP_reg29, DW_OP_reg3, DW_OP_reg30, DW_OP_reg31, DW_OP_reg4, DW_OP_reg5, DW_OP_reg6, DW_OP_reg7, DW_OP_reg8, DW_OP_reg9, DW_OP_regx, DW_OP_rot, DW_OP_shl, DW_OP_shr, DW_OP_shra, DW_OP_skip, DW_OP_swap, DW_OP_xderef, DW_OP_xderef_size, DW_OP_xor, ENCODE_SPACE_NEEDED, Dwarf_P_Expr_s::ex_byte_stream, Dwarf_P_Expr_s::ex_dbg, Dwarf_P_Expr_s::ex_next_byte_offset, MAXIMUM_LOC_EXPR_LENGTH, memcpy, NULL, and WRITE_UNALIGNED.
Referenced by Cg_Dwarf_Process_PU(), put_inheritance(), put_location(), put_member(), and put_subprogram().
| Dwarf_P_Fde dwarf_add_fde_inst | ( | Dwarf_P_Fde | , | |
| Dwarf_Small | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 339 of file pro_frame.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), _dwarf_pro_add_to_fde(), _dwarf_pro_encode_leb128_nm(), Dwarf_P_Frame_Pgm_s::dfp_args, Dwarf_P_Frame_Pgm_s::dfp_nbytes, Dwarf_P_Frame_Pgm_s::dfp_next, Dwarf_P_Frame_Pgm_s::dfp_opcode, DW_CFA_advance_loc, DW_CFA_advance_loc1, DW_CFA_advance_loc2, DW_CFA_advance_loc4, DW_CFA_def_cfa, DW_CFA_def_cfa_offset, DW_CFA_def_cfa_register, DW_CFA_MIPS_advance_loc8, DW_CFA_offset, DW_CFA_offset_extended, DW_CFA_register, DW_CFA_same_value, DW_CFA_undefined, DW_DLE_FPGM_ALLOC, DW_DLE_STRING_ALLOC, DW_DLV_BADADDR, DW_DLV_OK, ENCODE_SPACE_NEEDED, MAX_6_BIT_VALUE, memcpy, NULL, ptr, UCHAR_MAX, ULONG_MAX, and USHRT_MAX.
Referenced by Add_Fde_Inst(), and Build_Fde_For_Proc().
| Dwarf_P_Fde dwarf_add_fde_inst_with_signed_offset | ( | Dwarf_P_Fde | , | |
| Dwarf_Small | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Signed | , | |||
| Dwarf_Error * | ||||
| ) |
| Dwarf_Unsigned dwarf_add_file_decl | ( | Dwarf_P_Debug | , | |
| const char * | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 218 of file pro_line.c.
References _dwarf_p_get_alloc(), _dwarf_pro_encode_leb128_nm(), cur, Dwarf_P_Debug_s::de_file_entries, Dwarf_P_Debug_s::de_last_file_entry, Dwarf_P_Debug_s::de_n_file_entries, Dwarf_P_F_Entry_s::dfe_args, Dwarf_P_F_Entry_s::dfe_name, Dwarf_P_F_Entry_s::dfe_nbytes, Dwarf_P_F_Entry_s::dfe_next, DW_DLE_ALLOC_FAIL, DW_DLE_FILE_ENTRY_ALLOC, DW_DLV_NOCOUNT, DW_DLV_OK, DWARF_P_DBG_ERROR, ENCODE_SPACE_NEEDED, memcpy, NULL, ptr, strcpy, and strlen().
Referenced by Em_Dwarf_Add_File().
| Dwarf_Unsigned dwarf_add_frame_cie | ( | Dwarf_P_Debug | , | |
| const char * | , | |||
| Dwarf_Small | , | |||
| Dwarf_Small | , | |||
| Dwarf_Small | , | |||
| Dwarf_Ptr | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 63 of file pro_frame.c.
References _dwarf_p_get_alloc(), Dwarf_P_Cie_s::cie_aug, Dwarf_P_Cie_s::cie_code_align, Dwarf_P_Cie_s::cie_data_align, Dwarf_P_Cie_s::cie_inst, Dwarf_P_Cie_s::cie_inst_bytes, Dwarf_P_Cie_s::cie_next, Dwarf_P_Cie_s::cie_personality, Dwarf_P_Cie_s::cie_ret_reg, Dwarf_P_Cie_s::cie_version, Dwarf_P_Debug_s::de_frame_cies, Dwarf_P_Debug_s::de_last_cie, Dwarf_P_Debug_s::de_n_cie, DW_CIE_VERSION, DW_DLE_CIE_ALLOC, DW_DLV_NOCOUNT, DWARF_P_DBG_ERROR, long, and NULL.
Referenced by dwf_add_frame_cie().
| Dwarf_Unsigned dwarf_add_frame_fde | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Fde | , | |||
| Dwarf_P_Die | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Error * | ||||
| ) |
| Dwarf_Unsigned dwarf_add_frame_fde_b | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Fde | , | |||
| Dwarf_P_Die | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Addr | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Addr | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 131 of file pro_frame.c.
References Dwarf_P_Debug_s::de_frame_fdes, Dwarf_P_Debug_s::de_last_fde, Dwarf_P_Debug_s::de_n_fde, DW_DLX_NO_EH_OFFSET, Dwarf_P_Fde_s::fde_addr_range, Dwarf_P_Fde_s::fde_cie, Dwarf_P_Fde_s::fde_die, Dwarf_P_Fde_s::fde_end_symbol, Dwarf_P_Fde_s::fde_end_symbol_offset, Dwarf_P_Fde_s::fde_exception_table_symbol, Dwarf_P_Fde_s::fde_initloc, Dwarf_P_Fde_s::fde_next, Dwarf_P_Fde_s::fde_offset_into_exception_tables, Dwarf_P_Fde_s::fde_r_symidx, long, and NULL.
Referenced by dwarf_add_frame_fde(), and Em_Dwarf_Process_PU().
| Dwarf_Unsigned dwarf_add_frame_info | ( | Dwarf_P_Debug | dbg, | |
| Dwarf_P_Fde | , | |||
| Dwarf_P_Die | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Addr | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Signed | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Error * | ||||
| ) |
| Dwarf_Unsigned dwarf_add_frame_info_b | ( | Dwarf_P_Debug | dbg, | |
| Dwarf_P_Fde | , | |||
| Dwarf_P_Die | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Addr | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Addr | , | |||
| Dwarf_Signed | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 212 of file pro_frame.c.
References Dwarf_P_Debug_s::de_frame_fdes, Dwarf_P_Debug_s::de_last_fde, Dwarf_P_Debug_s::de_n_fde, Dwarf_P_Fde_s::fde_addr_range, Dwarf_P_Fde_s::fde_cie, Dwarf_P_Fde_s::fde_die, Dwarf_P_Fde_s::fde_end_symbol, Dwarf_P_Fde_s::fde_end_symbol_offset, Dwarf_P_Fde_s::fde_exception_table_symbol, Dwarf_P_Fde_s::fde_initloc, Dwarf_P_Fde_s::fde_next, Dwarf_P_Fde_s::fde_offset_into_exception_tables, Dwarf_P_Fde_s::fde_r_symidx, long, and NULL.
Referenced by dwarf_add_frame_info(), and Em_Dwarf_Process_PU().
| Dwarf_Unsigned dwarf_add_funcname | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Die | , | |||
| char * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 58 of file pro_funcs.c.
References _dwarf_add_simple_name_entry(), and dwarf_snk_funcname.
Referenced by put_pubname().
| Dwarf_Unsigned dwarf_add_line_entry | ( | Dwarf_P_Debug | , | |
| Dwarf_Unsigned | , | |||
| Dwarf_Addr | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Signed | , | |||
| Dwarf_Bool | , | |||
| Dwarf_Bool | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 74 of file pro_line.c.
References _dwarf_pro_add_line_entry().
Referenced by Em_Dwarf_Add_Line_Entry().
| Dwarf_Unsigned dwarf_add_pubname | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Die | , | |||
| char * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 60 of file pro_pubnames.c.
References _dwarf_add_simple_name_entry(), and dwarf_snk_pubname.
Referenced by put_pubname(), and put_subprogram().
| Dwarf_Unsigned dwarf_add_typename | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Die | , | |||
| char * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 59 of file pro_types.c.
References _dwarf_add_simple_name_entry(), and dwarf_snk_typename.
Referenced by put_pubname().
| Dwarf_Unsigned dwarf_add_varname | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Die | , | |||
| char * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 58 of file pro_vars.c.
References _dwarf_add_simple_name_entry(), and dwarf_snk_varname.
Referenced by put_pubname().
| Dwarf_Unsigned dwarf_add_weakname | ( | Dwarf_P_Debug | , | |
| Dwarf_P_Die | , | |||
| char * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 58 of file pro_weaks.c.
References _dwarf_add_simple_name_entry(), and dwarf_snk_weakname.
Referenced by put_pubname().
| int dwarf_arrayorder | ( | Dwarf_Die | , | |
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 576 of file dwarf_query.c.
References _dwarf_die_attr_unsigned_constant(), and DW_AT_ordering.
| int dwarf_attr | ( | Dwarf_Die | , | |
| Dwarf_Half | , | |||
| Dwarf_Attribute * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 349 of file dwarf_query.c.
References _dwarf_error(), _dwarf_get_alloc(), _dwarf_get_value_ptr(), Dwarf_Attribute_s::ar_attribute, Dwarf_Attribute_s::ar_attribute_form, Dwarf_Attribute_s::ar_attribute_form_direct, Dwarf_Attribute_s::ar_cu_context, Dwarf_Attribute_s::ar_debug_info_ptr, Dwarf_CU_Context_s::cc_dbg, CHECK_DIE, dbg, Dwarf_Die_s::di_cu_context, DW_DLA_ATTR, DW_DLE_ALLOC_FAIL, DW_DLE_DIE_BAD, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, and NULL.
Referenced by _dwarf_internal_printlines(), _dwarf_internal_srclines(), dwarf_get_fde_for_die(), dwarf_srcfiles(), handle_attr_addr(), handle_attr_locdesc(), print_aranges(), and print_infos().
| int dwarf_attr_offset | ( | Dwarf_Die | , | |
| Dwarf_Attribute | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 597 of file dwarf_query.c.
References Dwarf_Attribute_s::ar_debug_info_ptr, Dwarf_CU_Context_s::cc_dbg, CHECK_DIE, Dwarf_Debug_s::de_debug_info, Dwarf_Die_s::di_cu_context, DW_DLV_ERROR, and DW_DLV_OK.
Referenced by handle_attr_addr(), and handle_attr_locdesc().
| int dwarf_attrlist | ( | Dwarf_Die | , | |
| Dwarf_Attribute ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 108 of file dwarf_query.c.
References _dwarf_error(), _dwarf_get_abbrev_for_code(), _dwarf_get_alloc(), _dwarf_get_size_of_val(), Dwarf_Abbrev_List_s::ab_abbrev_ptr, Dwarf_Attribute_s::ar_attribute, Dwarf_Attribute_s::ar_attribute_form, Dwarf_Attribute_s::ar_attribute_form_direct, Dwarf_Attribute_s::ar_cu_context, Dwarf_Attribute_s::ar_debug_info_ptr, Dwarf_Attribute_s::ar_next, Dwarf_CU_Context_s::cc_dbg, CHECK_DIE, dbg, DECODE_LEB128_UWORD, Dwarf_Die_s::di_abbrev_list, Dwarf_Die_s::di_cu_context, Dwarf_Die_s::di_debug_info_ptr, DW_DLA_ATTR, DW_DLA_LIST, DW_DLE_ALLOC_FAIL, DW_DLE_DIE_ABBREV_BAD, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, DW_FORM_indirect, i, NULL, and SKIP_LEB128_WORD.
Referenced by get_proc_name(), and print_one_die().
| int dwarf_bitoffset | ( | Dwarf_Die | , | |
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 544 of file dwarf_query.c.
References _dwarf_die_attr_unsigned_constant(), and DW_AT_bit_offset.
| int dwarf_bitsize | ( | Dwarf_Die | , | |
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 529 of file dwarf_query.c.
References _dwarf_die_attr_unsigned_constant(), and DW_AT_bit_size.
| int dwarf_bytesize | ( | Dwarf_Die | , | |
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 516 of file dwarf_query.c.
References _dwarf_die_attr_unsigned_constant(), and DW_AT_byte_size.
| int dwarf_child | ( | Dwarf_Die | , | |
| Dwarf_Die * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 606 of file dwarf_die_deliv.c.
References _dwarf_error(), _dwarf_get_abbrev_for_code(), _dwarf_get_alloc(), _dwarf_next_die_info_ptr(), Dwarf_CU_Context_s::cc_dbg, Dwarf_CU_Context_s::cc_debug_info_offset, Dwarf_CU_Context_s::cc_extension_size, Dwarf_CU_Context_s::cc_length, Dwarf_CU_Context_s::cc_length_size, CHECK_DIE, dbg, Dwarf_Debug_s::de_debug_info, DECODE_LEB128_UWORD, Dwarf_Die_s::di_abbrev_list, Dwarf_Die_s::di_cu_context, Dwarf_Die_s::di_debug_info_ptr, DW_DLA_DIE, DW_DLE_ALLOC_FAIL, DW_DLE_DIE_BAD, DW_DLE_NEXT_DIE_PTR_NULL, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, and NULL.
Referenced by do_this_die_and_dealloc(), get_fde_proc_name(), get_nested_proc_name(), and print_die_and_children().
| void dwarf_dealloc | ( | Dwarf_Debug | , | |
| void * | , | |||
| Dwarf_Unsigned | ||||
| ) |
Definition at line 559 of file dwarf_alloc.c.
References _DW_RESERVE, _dwarf_free_special_error(), Dwarf_Alloc_Area_s::aa_alloc_hdr, Dwarf_Alloc_Area_s::aa_free_list, Dwarf_Alloc_Area_s::aa_free_structs_in_chunk, Dwarf_Alloc_Area_s::aa_next, Dwarf_Alloc_Area_s::aa_prev, Dwarf_Alloc_Hdr_s::ah_alloc_area_head, Dwarf_Alloc_Hdr_s::ah_chunks_allocated, Dwarf_Alloc_Hdr_s::ah_last_alloc_area, Dwarf_Alloc_Hdr_s::ah_struct_user_holds, Dwarf_Alloc_Hdr_s::ah_structs_per_chunk, ALLOC_AREA_INDEX_TABLE_MAX, Dwarf_Debug_s::de_alloc_hdr, Dwarf_Debug_s::de_debug_frame, Dwarf_Debug_s::de_debug_frame_size, Dwarf_Debug_s::de_debug_funcnames, Dwarf_Debug_s::de_debug_funcnames_size, Dwarf_Debug_s::de_debug_info, Dwarf_Debug_s::de_debug_info_size, Dwarf_Debug_s::de_debug_line, Dwarf_Debug_s::de_debug_line_size, Dwarf_Debug_s::de_debug_pubnames, Dwarf_Debug_s::de_debug_pubnames_size, Dwarf_Debug_s::de_debug_str, Dwarf_Debug_s::de_debug_str_size, Dwarf_Debug_s::de_debug_typenames, Dwarf_Debug_s::de_debug_typenames_size, Dwarf_Debug_s::de_debug_varnames, Dwarf_Debug_s::de_debug_varnames_size, Dwarf_Debug_s::de_debug_weaknames, Dwarf_Debug_s::de_debug_weaknames_size, DW_DLA_ADDR, DW_DLA_ERROR, DW_DLA_FRAME_BLOCK, DW_DLA_LIST, DW_DLA_LOC_BLOCK, DW_DLA_STRING, fprintf(), free(), ial_s::ia_al_num, index(), memset, and NULL.
Referenced by _dwarf_cleanup_llbuf(), _dwarf_exec_frame_instr(), _dwarf_frame_address_offsets(), _dwarf_get_aranges_addr_offsets(), _dwarf_get_locdesc(), _dwarf_internal_get_pubnames_like_data(), _dwarf_internal_printlines(), _dwarf_internal_srclines(), _dwarf_line_address_offsets(), _dwarf_mac_push_index(), do_this_die_and_dealloc(), dwarf_get_aranges(), dwarf_loclist(), dwarf_loclist_n(), dwarf_srcfiles(), get_attr_value(), get_fde_proc_name(), get_location_list(), get_nested_proc_name(), get_proc_name(), handle_attr_addr(), handle_attr_locdesc(), handle_debug_aranges(), handle_debug_frame(), handle_debug_line(), print_aranges(), print_die_and_children(), print_frames(), print_infos(), print_line_numbers_this_cu(), print_macinfo(), print_one_die(), print_pubnames(), print_static_funcs(), print_static_vars(), print_types(), and print_weaknames().
| int dwarf_def_macro | ( | Dwarf_P_Debug | , | |
| Dwarf_Unsigned | , | |||
| char * | , | |||
| char * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 228 of file pro_macinfo.c.
References _dwarf_p_error(), COMMAND_LEN, DW_DLE_DBG_NULL, DW_DLE_MACINFO_STRING_EMPTY, DW_DLE_MACINFO_STRING_NULL, DW_DLV_ERROR, DW_DLV_OK, DW_MACINFO_define, libdwarf_compose_add_line(), libdwarf_compose_add_string(), libdwarf_compose_begin(), libdwarf_compose_complete(), LINE_LEN, NULL, and strlen().
| int dwarf_die_CU_offset | ( | Dwarf_Die | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 81 of file dwarf_query.c.
References Dwarf_CU_Context_s::cc_dbg, Dwarf_CU_Context_s::cc_debug_info_offset, CHECK_DIE, Dwarf_Debug_s::de_debug_info, Dwarf_Die_s::di_cu_context, Dwarf_Die_s::di_debug_info_ptr, DW_DLV_ERROR, and DW_DLV_OK.
Referenced by print_one_die(), print_pubnames(), print_static_funcs(), print_static_vars(), print_types(), and print_weaknames().
| Dwarf_P_Die dwarf_die_link | ( | Dwarf_P_Die | , | |
| Dwarf_P_Die | , | |||
| Dwarf_P_Die | , | |||
| Dwarf_P_Die | , | |||
| Dwarf_P_Die | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 94 of file pro_die.c.
References Dwarf_P_Die_s::di_child, Dwarf_P_Die_s::di_last_child, Dwarf_P_Die_s::di_left, Dwarf_P_Die_s::di_parent, Dwarf_P_Die_s::di_right, DW_DLE_EXTRA_NEIGHBORS, DW_DLE_LAST_CHILD_ISNT, DW_DLE_PARENT_EXISTS, DW_DLV_BADADDR, DWARF_P_DBG_ERROR, and NULL.
Referenced by dwarf_new_die(), and preorder_visit().
| int dwarf_dieline | ( | Dwarf_Die | , | |
| Dwarf_Line * | , | |||
| Dwarf_Error * | ||||
| ) |
| int dwarf_diename | ( | Dwarf_Die | , | |
| char ** | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 271 of file dwarf_query.c.
References _dwarf_error(), _dwarf_get_value_ptr(), _dwarf_load_section(), Dwarf_CU_Context_s::cc_dbg, Dwarf_CU_Context_s::cc_length_size, CHECK_DIE, dbg, Dwarf_Debug_s::de_debug_str, Dwarf_Debug_s::de_debug_str_index, Dwarf_Debug_s::de_debug_str_size, Dwarf_Die_s::di_cu_context, DW_AT_name, DW_DLE_ATTR_FORM_BAD, DW_DLE_DIE_BAD, DW_DLE_STRING_OFFSET_BAD, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, DW_FORM_string, DW_FORM_strp, NULL, and READ_UNALIGNED.
| int dwarf_dieoffset | ( | Dwarf_Die | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 63 of file dwarf_query.c.
References Dwarf_CU_Context_s::cc_dbg, CHECK_DIE, Dwarf_Debug_s::de_debug_info, Dwarf_Die_s::di_cu_context, Dwarf_Die_s::di_debug_info_ptr, DW_DLV_ERROR, and DW_DLV_OK.
Referenced by print_one_die(), and process_this_die_attrs().
| int dwarf_elf_init | ( | dwarf_elf_handle | , | |
| Dwarf_Unsigned | , | |||
| Dwarf_Handler | , | |||
| Dwarf_Ptr | , | |||
| Dwarf_Debug * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 607 of file dwarf_init_finish.c.
References _dwarf_get_debug(), _dwarf_setup(), _dwarf_setup_debug(), dbg, Dwarf_Debug_s::de_access, Dwarf_Debug_s::de_elf_must_close, Dwarf_Debug_s::de_errarg, Dwarf_Debug_s::de_errhand, DW_DLC_READ, DW_DLE_DBG_ALLOC, DW_DLE_INIT_ACCESS_WRONG, DW_DLV_ERROR, DW_DLV_OK, DWARF_DBG_ERROR, free(), and NULL.
Referenced by _dwarf_addr_finder(), and process_one_file().
| int dwarf_end_macro_file | ( | Dwarf_P_Debug | , | |
| Dwarf_Error * | ||||
| ) |
Definition at line 402 of file pro_macinfo.c.
References _dwarf_p_error(), COMMAND_LEN, DW_DLE_DBG_NULL, DW_DLV_ERROR, DW_DLV_OK, DW_MACINFO_end_file, libdwarf_compose_begin(), libdwarf_compose_complete(), and NULL.
| char* dwarf_errmsg | ( | Dwarf_Error | ) |
Definition at line 371 of file dwarf_error.c.
References _dwarf_errmsgs, Dwarf_Error_s::er_errval, and NULL.
Referenced by print_error(), and print_infos().
| Dwarf_Unsigned dwarf_errno | ( | Dwarf_Error | ) |
Definition at line 358 of file dwarf_error.c.
References Dwarf_Error_s::er_errval, and NULL.
Referenced by _dwarf_addr_finder(), do_this_die_and_dealloc(), handle_debug_aranges(), handle_debug_frame(), handle_debug_info(), handle_debug_line(), print_error(), print_infos(), and process_this_die_attrs().
| int dwarf_expand_frame_instructions | ( | Dwarf_Debug | , | |
| Dwarf_Ptr | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Frame_Op ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 2125 of file dwarf_frame.c.
References _dwarf_error(), _dwarf_exec_frame_instr(), DW_DLE_DBG_NULL, DW_DLE_RET_OP_LIST_NULL, DW_DLV_ERROR, DW_DLV_OK, and NULL.
| Dwarf_Unsigned dwarf_expr_current_offset | ( | Dwarf_P_Expr | , | |
| Dwarf_Error * | ||||
| ) |
Definition at line 516 of file pro_expr.c.
References _dwarf_p_error(), DW_DLE_DBG_NULL, DW_DLE_EXPR_NULL, DW_DLV_NOCOUNT, Dwarf_P_Expr_s::ex_dbg, Dwarf_P_Expr_s::ex_next_byte_offset, and NULL.
| Dwarf_Addr dwarf_expr_into_block | ( | Dwarf_P_Expr | , | |
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 533 of file pro_expr.c.
References _dwarf_p_error(), DW_DLE_DBG_NULL, DW_DLE_EXPR_NULL, DW_DLV_BADADDR, Dwarf_P_Expr_s::ex_byte_stream, Dwarf_P_Expr_s::ex_dbg, Dwarf_P_Expr_s::ex_next_byte_offset, and NULL.
| Dwarf_P_Fde dwarf_fde_cfa_offset | ( | Dwarf_P_Fde | , | |
| Dwarf_Unsigned | , | |||
| Dwarf_Signed | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 280 of file pro_frame.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), _dwarf_pro_add_to_fde(), _dwarf_pro_encode_leb128_nm(), Dwarf_P_Frame_Pgm_s::dfp_args, Dwarf_P_Frame_Pgm_s::dfp_nbytes, Dwarf_P_Frame_Pgm_s::dfp_next, Dwarf_P_Frame_Pgm_s::dfp_opcode, DW_CFA_offset, DW_DLE_FPGM_ALLOC, DW_DLE_REGNO_OVFL, DW_DLE_STRING_ALLOC, DW_DLV_BADADDR, DW_DLV_OK, DWARF_P_DBG_ERROR, ENCODE_SPACE_NEEDED, memcpy, NULL, opc, and ptr.
| char* dwarf_find_macro_value_start | ( | char * | ) |
| int dwarf_finish | ( | Dwarf_Debug | , | |
| Dwarf_Error * | ||||
| ) |
Definition at line 648 of file dwarf_init_finish.c.
References _dwarf_free_all_of_one_debug(), Dwarf_Debug_s::de_elf, Dwarf_Debug_s::de_elf_must_close, DW_DLE_DBG_ALLOC, DW_DLV_ERROR, DW_DLV_OK, DWARF_DBG_ERROR, and elf_end().
Referenced by _dwarf_addr_finder(), and process_one_file().
| int dwarf_formaddr | ( | Dwarf_Attribute | , | |
| Dwarf_Addr * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 320 of file dwarf_form.c.
References _dwarf_error(), Dwarf_Attribute_s::ar_attribute_form, Dwarf_Attribute_s::ar_cu_context, Dwarf_Attribute_s::ar_debug_info_ptr, Dwarf_CU_Context_s::cc_dbg, dbg, Dwarf_Debug_s::de_pointer_size, DW_DLE_ATTR_DBG_NULL, DW_DLE_ATTR_FORM_BAD, DW_DLE_ATTR_NO_CU_CONTEXT, DW_DLE_ATTR_NULL, DW_DLV_ERROR, DW_DLV_OK, DW_FORM_addr, NULL, READ_UNALIGNED, and ret_addr.
Referenced by get_attr_value(), get_proc_name(), and handle_attr_addr().
| int dwarf_formblock | ( | Dwarf_Attribute | , | |
| Dwarf_Block ** | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 550 of file dwarf_form.c.
References _dwarf_decode_u_leb128(), _dwarf_error(), _dwarf_get_alloc(), Dwarf_Attribute_s::ar_attribute_form, Dwarf_Attribute_s::ar_cu_context, Dwarf_Attribute_s::ar_debug_info_ptr, Dwarf_Block::bl_data, Dwarf_Block::bl_from_loclist, Dwarf_Block::bl_len, Dwarf_Block::bl_section_offset, Dwarf_CU_Context_s::cc_dbg, Dwarf_CU_Context_s::cc_debug_info_offset, Dwarf_CU_Context_s::cc_extension_size, Dwarf_CU_Context_s::cc_length, Dwarf_CU_Context_s::cc_length_size, dbg, Dwarf_Debug_s::de_debug_info, DW_DLA_BLOCK, DW_DLE_ALLOC_FAIL, DW_DLE_ATTR_DBG_NULL, DW_DLE_ATTR_FORM_BAD, DW_DLE_ATTR_FORM_SIZE_BAD, DW_DLE_ATTR_NO_CU_CONTEXT, DW_DLE_ATTR_NULL, DW_DLV_ERROR, DW_DLV_OK, DW_FORM_block, DW_FORM_block1, DW_FORM_block2, DW_FORM_block4, length, NULL, and READ_UNALIGNED.
Referenced by dwarf_loclist(), dwarf_loclist_n(), and get_attr_value().
| int dwarf_formflag | ( | Dwarf_Attribute | , | |
| Dwarf_Bool * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 368 of file dwarf_form.c.
References _dwarf_error(), Dwarf_Attribute_s::ar_attribute_form, Dwarf_Attribute_s::ar_cu_context, Dwarf_Attribute_s::ar_debug_info_ptr, Dwarf_CU_Context_s::cc_dbg, DW_DLE_ATTR_DBG_NULL, DW_DLE_ATTR_FORM_BAD, DW_DLE_ATTR_NO_CU_CONTEXT, DW_DLE_ATTR_NULL, DW_DLV_ERROR, DW_DLV_OK, DW_FORM_flag, and NULL.
Referenced by get_attr_value().
| int dwarf_formref | ( | Dwarf_Attribute | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 161 of file dwarf_form.c.
References _dwarf_decode_u_leb128(), _dwarf_error(), Dwarf_Attribute_s::ar_attribute_form, Dwarf_Attribute_s::ar_cu_context, Dwarf_Attribute_s::ar_debug_info_ptr, Dwarf_CU_Context_s::cc_dbg, Dwarf_CU_Context_s::cc_extension_size, Dwarf_CU_Context_s::cc_length, Dwarf_CU_Context_s::cc_length_size, dbg, DW_DLE_ATTR_DBG_NULL, DW_DLE_ATTR_FORM_OFFSET_BAD, DW_DLE_ATTR_NO_CU_CONTEXT, DW_DLE_ATTR_NULL, DW_DLE_BAD_REF_FORM, DW_DLV_ERROR, DW_DLV_OK, DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4, DW_FORM_ref8, DW_FORM_ref_udata, NULL, offset, and READ_UNALIGNED.
Referenced by get_attr_value().
| int dwarf_formsdata | ( | Dwarf_Attribute | , | |
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 475 of file dwarf_form.c.
References _dwarf_decode_s_leb128(), _dwarf_error(), Dwarf_Attribute_s::ar_attribute_form, Dwarf_Attribute_s::ar_cu_context, Dwarf_Attribute_s::ar_debug_info_ptr, Dwarf_CU_Context_s::cc_dbg, dbg, DW_DLE_ATTR_DBG_NULL, DW_DLE_ATTR_FORM_BAD, DW_DLE_ATTR_NO_CU_CONTEXT, DW_DLE_ATTR_NULL, DW_DLV_ERROR, DW_DLV_OK, DW_FORM_data1, DW_FORM_data2, DW_FORM_data4, DW_FORM_data8, DW_FORM_sdata, NULL, and READ_UNALIGNED.
Referenced by dwarf_get_fde_for_die(), get_attr_value(), and print_attribute().
| int dwarf_formstring | ( | Dwarf_Attribute | , | |
| char ** | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 634 of file dwarf_form.c.
References _dwarf_error(), _dwarf_load_section(), _dwarf_string_valid(), Dwarf_Attribute_s::ar_attribute_form, Dwarf_Attribute_s::ar_cu_context, Dwarf_Attribute_s::ar_debug_info_ptr, Dwarf_CU_Context_s::cc_dbg, Dwarf_CU_Context_s::cc_debug_info_offset, Dwarf_CU_Context_s::cc_extension_size, Dwarf_CU_Context_s::cc_length, Dwarf_CU_Context_s::cc_length_size, dbg, Dwarf_Debug_s::de_assume_string_in_bounds, Dwarf_Debug_s::de_debug_info, Dwarf_Debug_s::de_debug_str, Dwarf_Debug_s::de_debug_str_index, DW_DLE_ATTR_DBG_NULL, DW_DLE_ATTR_FORM_BAD, DW_DLE_ATTR_FORM_SIZE_BAD, DW_DLE_ATTR_NO_CU_CONTEXT, DW_DLE_ATTR_NULL, DW_DLV_ERROR, DW_DLV_OK, DW_FORM_string, DW_FORM_strp, end, NULL, offset, and READ_UNALIGNED.
Referenced by _dwarf_internal_printlines(), _dwarf_internal_srclines(), dwarf_srcfiles(), get_attr_value(), get_proc_name(), print_aranges(), and print_infos().
| int dwarf_formudata | ( | Dwarf_Attribute | , | |
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 399 of file dwarf_form.c.
References _dwarf_decode_u_leb128(), _dwarf_error(), Dwarf_Attribute_s::ar_attribute_form, Dwarf_Attribute_s::ar_cu_context, Dwarf_Attribute_s::ar_debug_info_ptr, Dwarf_CU_Context_s::cc_dbg, dbg, DW_DLE_ATTR_DBG_NULL, DW_DLE_ATTR_FORM_BAD, DW_DLE_ATTR_NO_CU_CONTEXT, DW_DLE_ATTR_NULL, DW_DLV_ERROR, DW_DLV_OK, DW_FORM_data1, DW_FORM_data2, DW_FORM_data4, DW_FORM_data8, DW_FORM_udata, NULL, and READ_UNALIGNED.
Referenced by _dwarf_get_loclist_header_start(), _dwarf_internal_printlines(), _dwarf_internal_srclines(), dwarf_srcfiles(), and get_attr_value().
| int dwarf_func_cu_offset | ( | Dwarf_Func | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 105 of file dwarf_funcs.c.
References dwarf_global_cu_offset(), and func.
Referenced by print_static_funcs().
| int dwarf_func_die_offset | ( | Dwarf_Func | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
| int dwarf_func_name_offsets | ( | Dwarf_Func | , | |
| char ** | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 115 of file dwarf_funcs.c.
References dwarf_global_name_offsets(), and func.
Referenced by print_static_funcs().
| int dwarf_funcname | ( | Dwarf_Func | , | |
| char ** | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 81 of file dwarf_funcs.c.
References _dwarf_error(), DW_DLE_FUNC_NULL, DW_DLV_ERROR, DW_DLV_OK, func, Dwarf_Global_s::gl_name, and NULL.
| int dwarf_get_abbrev | ( | Dwarf_Debug | , | |
| Dwarf_Unsigned | , | |||
| Dwarf_Abbrev * | , | |||
| Dwarf_Unsigned * | , | |||
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 48 of file dwarf_abbrev.c.
References _dwarf_error(), _dwarf_get_alloc(), _dwarf_load_debug_info(), Dwarf_Abbrev_s::ab_abbrev_ptr, Dwarf_Abbrev_s::ab_code, Dwarf_Abbrev_s::ab_dbg, Dwarf_Abbrev_s::ab_has_child, Dwarf_Abbrev_s::ab_tag, Dwarf_Debug_s::de_debug_abbrev, Dwarf_Debug_s::de_debug_abbrev_size, DECODE_LEB128_UWORD, DW_DLA_ABBREV, DW_DLE_ABBREV_DECODE_ERROR, DW_DLE_ALLOC_FAIL, DW_DLE_DBG_NULL, DW_DLE_DWARF_ABBREV_NULL, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, and NULL.
Referenced by print_abbrevs().
| int dwarf_get_abbrev_children_flag | ( | Dwarf_Abbrev | , | |
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 174 of file dwarf_abbrev.c.
References _dwarf_error(), Dwarf_Abbrev_s::ab_has_child, DW_DLE_DWARF_ABBREV_NULL, DW_DLV_ERROR, DW_DLV_OK, and NULL.
Referenced by print_abbrevs().
| int dwarf_get_abbrev_code | ( | Dwarf_Abbrev | , | |
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 146 of file dwarf_abbrev.c.
References _dwarf_error(), Dwarf_Abbrev_s::ab_code, DW_DLE_DWARF_ABBREV_NULL, DW_DLV_ERROR, DW_DLV_OK, and NULL.
Referenced by print_abbrevs().
| int dwarf_get_abbrev_entry | ( | Dwarf_Abbrev | , | |
| Dwarf_Signed | , | |||
| Dwarf_Half * | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 189 of file dwarf_abbrev.c.
References _dwarf_error(), Dwarf_Abbrev_s::ab_abbrev_ptr, Dwarf_Abbrev_s::ab_code, Dwarf_Abbrev_s::ab_dbg, Dwarf_Debug_s::de_debug_abbrev, Dwarf_Debug_s::de_debug_abbrev_size, DECODE_LEB128_UWORD, DW_DLE_ABBREV_DECODE_ERROR, DW_DLE_DBG_NULL, DW_DLE_DWARF_ABBREV_NULL, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, and NULL.
Referenced by print_abbrevs().
| int dwarf_get_abbrev_tag | ( | Dwarf_Abbrev | , | |
| Dwarf_Half * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 160 of file dwarf_abbrev.c.
References _dwarf_error(), Dwarf_Abbrev_s::ab_tag, DW_DLE_DWARF_ABBREV_NULL, DW_DLV_ERROR, DW_DLV_OK, and NULL.
Referenced by print_abbrevs().
| int dwarf_get_address_size | ( | Dwarf_Debug | , | |
| Dwarf_Half * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 47 of file dwarf_query.c.
References _dwarf_error(), Dwarf_Debug_s::de_pointer_size, DW_DLE_DBG_NULL, DW_DLV_ERROR, DW_DLV_OK, and NULL.
Referenced by print_frames().
| int dwarf_get_all_defined_macros | ( | Dwarf_Debug | , | |
| Dwarf_Addr | , | |||
| Dwarf_Signed * | , | |||
| char *** | , | |||
| Dwarf_Error * | ||||
| ) |
| int dwarf_get_arange | ( | Dwarf_Arange * | , | |
| Dwarf_Unsigned | , | |||
| Dwarf_Addr | , | |||
| Dwarf_Arange * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 503 of file dwarf_arange.c.
References _dwarf_error(), Dwarf_Arange_s::ar_address, Dwarf_Arange_s::ar_length, DW_DLE_ARANGES_NULL, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, i, and NULL.
| int dwarf_get_arange_cu_header_offset | ( | Dwarf_Arange | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 574 of file dwarf_arange.c.
References _dwarf_error(), Dwarf_Arange_s::ar_info_offset, DW_DLE_ARANGE_NULL, DW_DLV_ERROR, DW_DLV_OK, and NULL.
Referenced by print_aranges().
| int dwarf_get_arange_info | ( | Dwarf_Arange | , | |
| Dwarf_Addr * | , | |||
| Dwarf_Unsigned * | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 598 of file dwarf_arange.c.
References _dwarf_error(), _dwarf_length_of_cu_header(), _dwarf_load_debug_info(), Dwarf_Arange_s::ar_address, Dwarf_Arange_s::ar_dbg, Dwarf_Arange_s::ar_info_offset, Dwarf_Arange_s::ar_length, dbg, Dwarf_Debug_s::de_debug_info, DW_DLE_ARANGE_NULL, DW_DLV_ERROR, DW_DLV_OK, NULL, and offset.
Referenced by print_aranges().
| int dwarf_get_aranges | ( | Dwarf_Debug | , | |
| Dwarf_Arange ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 60 of file dwarf_arange.c.
References _dwarf_error(), _dwarf_get_alloc(), _dwarf_load_section(), Dwarf_Arange_s::ar_address, Dwarf_Arange_s::ar_dbg, Dwarf_Arange_s::ar_info_offset, Dwarf_Arange_s::ar_length, Dwarf_Chain_s::ch_item, Dwarf_Chain_s::ch_next, CURRENT_VERSION_STAMP, Dwarf_Debug_s::de_debug_aranges, Dwarf_Debug_s::de_debug_aranges_index, Dwarf_Debug_s::de_debug_aranges_size, Dwarf_Debug_s::de_debug_info_size, Dwarf_Debug_s::de_pointer_size, DW_DLA_ARANGE, DW_DLA_CHAIN, DW_DLA_LIST, DW_DLE_ALLOC_FAIL, DW_DLE_ARANGE_DECODE_ERROR, DW_DLE_ARANGE_LENGTH_BAD, DW_DLE_ARANGE_OFFSET_BAD, DW_DLE_BADBITC, DW_DLE_DBG_NULL, DW_DLE_SEGMENT_SIZE_BAD, DW_DLE_VERSION_STAMP_ERROR, DW_DLV_ERROR, DW_DLV_OK, dwarf_dealloc(), i, length, NULL, READ_AREA_LENGTH, READ_UNALIGNED, remainder(), and version.
Referenced by print_aranges().
| int dwarf_get_cie_info | ( | Dwarf_Cie | , | |
| Dwarf_Unsigned * | , | |||
| Dwarf_Small * | , | |||
| char ** | , | |||
| Dwarf_Unsigned * | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Half * | , | |||
| Dwarf_Ptr * | , | |||
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1785 of file dwarf_frame.c.
References _dwarf_error(), Dwarf_Cie_s::ci_augmentation, Dwarf_Cie_s::ci_cie_instr_start, Dwarf_Cie_s::ci_cie_start, Dwarf_Cie_s::ci_cie_version_number, Dwarf_Cie_s::ci_code_alignment_factor, Dwarf_Cie_s::ci_data_alignment_factor, Dwarf_Cie_s::ci_dbg, Dwarf_Cie_s::ci_extension_size, Dwarf_Cie_s::ci_length, Dwarf_Cie_s::ci_length_size, Dwarf_Cie_s::ci_return_address_register, dbg, DW_DLE_CIE_DBG_NULL, DW_DLE_CIE_NULL, DW_DLV_ERROR, DW_DLV_OK, and NULL.
Referenced by print_frames().
| int dwarf_get_cie_of_fde | ( | Dwarf_Fde | , | |
| Dwarf_Cie * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 821 of file dwarf_frame.c.
References _dwarf_error(), DW_DLE_FDE_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Fde_s::fd_cie, and NULL.
| int dwarf_get_cu_die_offset | ( | Dwarf_Arange | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 538 of file dwarf_arange.c.
References _dwarf_error(), _dwarf_length_of_cu_header(), _dwarf_load_debug_info(), Dwarf_Arange_s::ar_dbg, Dwarf_Arange_s::ar_info_offset, dbg, Dwarf_Debug_s::de_debug_info, DW_DLE_ARANGE_NULL, DW_DLV_ERROR, DW_DLV_OK, NULL, and offset.
| int dwarf_get_cu_die_offset_given_cu_header_offset | ( | Dwarf_Debug | , | |
| Dwarf_Off | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 454 of file dwarf_global.c.
References _dwarf_length_of_cu_header(), DW_DLV_OK, and len.
| int dwarf_get_elf | ( | Dwarf_Debug | , | |
| dwarf_elf_handle * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 678 of file dwarf_init_finish.c.
References _dwarf_error(), Dwarf_Debug_s::de_elf, DW_DLE_DBG_NULL, DW_DLV_ERROR, DW_DLV_OK, and NULL.
Referenced by print_relocinfo().
| int dwarf_get_fde_at_pc | ( | Dwarf_Fde * | , | |
| Dwarf_Addr | , | |||
| Dwarf_Fde * | , | |||
| Dwarf_Addr * | , | |||
| Dwarf_Addr * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 2062 of file dwarf_frame.c.
References _dwarf_error(), dbg, Dwarf_Debug_s::de_fde_count, DW_DLE_FDE_DBG_NULL, DW_DLE_FDE_NULL, DW_DLE_FDE_PTR_NULL, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, Dwarf_Fde_s::fd_address_range, Dwarf_Fde_s::fd_initial_location, high, low, and NULL.
| int dwarf_get_fde_exception_info | ( | Dwarf_Fde | , | |
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1766 of file dwarf_frame.c.
References _dwarf_error(), dbg, DW_DLE_FDE_DBG_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Fde_s::fd_dbg, Dwarf_Fde_s::fd_offset_into_exception_tables, and NULL.
Referenced by print_frames().
| int dwarf_get_fde_for_die | ( | Dwarf_Debug | , | |
| Dwarf_Die | , | |||
| Dwarf_Fde * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1424 of file dwarf_frame.c.
References _dwarf_decode_s_leb128(), _dwarf_error(), _dwarf_get_alloc(), _dwarf_load_section(), Dwarf_Cie_s::ci_augmentation, Dwarf_Cie_s::ci_cie_instr_start, Dwarf_Cie_s::ci_cie_start, Dwarf_Cie_s::ci_cie_version_number, Dwarf_Cie_s::ci_code_alignment_factor, Dwarf_Cie_s::ci_data_alignment_factor, Dwarf_Cie_s::ci_dbg, Dwarf_Cie_s::ci_extension_size, Dwarf_Cie_s::ci_initial_table, Dwarf_Cie_s::ci_length, Dwarf_Cie_s::ci_length_size, Dwarf_Cie_s::ci_return_address_register, data_alignment_factor, Dwarf_Debug_s::de_debug_frame, Dwarf_Debug_s::de_debug_frame_index, Dwarf_Debug_s::de_debug_frame_size, Dwarf_Debug_s::de_pointer_size, DECODE_LEB128_UWORD, DW_AT_MIPS_fde, DW_CIE_AUGMENTER_STRING_V0, DW_CIE_ID, DW_CIE_VERSION, DW_CIE_VERSION3, DW_DEBUG_FRAME_AUGMENTER_STRING, DW_DLA_CIE, DW_DLA_FDE, DW_DLE_ALLOC_FAIL, DW_DLE_CIE_RET_ADDR_REG_ERROR, DW_DLE_DEBUG_FRAME_LENGTH_BAD, DW_DLE_DIE_NULL, DW_DLE_FRAME_VERSION_BAD, DW_DLE_NO_CIE_FOR_FDE, DW_DLV_ERROR, DW_DLV_OK, DW_DLX_NO_EH_OFFSET, DW_EMPTY_STRING, DW_FRAME_LAST_REG_NUM, dwarf_attr(), dwarf_formsdata(), Dwarf_Fde_s::fd_address_range, Dwarf_Fde_s::fd_cie, Dwarf_Fde_s::fd_cie_offset, Dwarf_Fde_s::fd_dbg, Dwarf_Fde_s::fd_extension_size, Dwarf_Fde_s::fd_fde_instr_start, Dwarf_Fde_s::fd_fde_start, Dwarf_Fde_s::fd_initial_location, Dwarf_Fde_s::fd_length, Dwarf_Fde_s::fd_length_size, Dwarf_Fde_s::fd_offset_into_exception_tables, Dwarf_Fde_s::fd_section_index, Dwarf_Fde_s::fd_section_length, Dwarf_Fde_s::fd_section_ptr, get_augmentation_string(), length, NULL, READ_AREA_LENGTH, READ_UNALIGNED, SIGN_EXTEND, strcmp(), strlen(), and version.
| int dwarf_get_fde_info_for_all_regs | ( | Dwarf_Fde | , | |
| Dwarf_Addr | , | |||
| Dwarf_Regtable * | , | |||
| Dwarf_Addr * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1920 of file dwarf_frame.c.
References _dwarf_get_fde_info_for_a_pc_row(), DW_DLV_OK, Dwarf_Regtable::dw_offset, Dwarf_Regtable::dw_offset_relevant, DW_REG_TABLE_SIZE, Dwarf_Regtable::dw_regnum, Dwarf_Frame_s::fr_loc, Dwarf_Frame_s::fr_reg, i, NULL, Dwarf_Reg_Rule_s::ru_is_off, Dwarf_Reg_Rule_s::ru_offset, Dwarf_Reg_Rule_s::ru_register, and Dwarf_Regtable::rules.
| int dwarf_get_fde_info_for_reg | ( | Dwarf_Fde | , | |
| Dwarf_Half | , | |||
| Dwarf_Addr | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Addr * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1954 of file dwarf_frame.c.
References _dwarf_error(), _dwarf_get_fde_info_for_a_pc_row(), DW_DLE_FRAME_TABLE_COL_BAD, DW_DLV_ERROR, DW_DLV_OK, DW_FRAME_LAST_REG_NUM, Dwarf_Frame_s::fr_loc, Dwarf_Frame_s::fr_reg, NULL, Dwarf_Reg_Rule_s::ru_is_off, Dwarf_Reg_Rule_s::ru_offset, and Dwarf_Reg_Rule_s::ru_register.
Referenced by print_frames().
| int dwarf_get_fde_instr_bytes | ( | Dwarf_Fde | , | |
| Dwarf_Ptr * | , | |||
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1996 of file dwarf_frame.c.
References _dwarf_error(), dbg, DW_DLE_FDE_DBG_NULL, DW_DLE_FDE_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Fde_s::fd_dbg, Dwarf_Fde_s::fd_extension_size, Dwarf_Fde_s::fd_fde_instr_start, Dwarf_Fde_s::fd_fde_start, Dwarf_Fde_s::fd_length, Dwarf_Fde_s::fd_length_size, len, and NULL.
Referenced by print_frames().
| int dwarf_get_fde_list | ( | Dwarf_Debug | , | |
| Dwarf_Cie ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Fde ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 889 of file dwarf_frame.c.
References __dwarf_get_fde_list_internal(), _dwarf_load_section(), Dwarf_Debug_s::de_debug_frame, Dwarf_Debug_s::de_debug_frame_index, Dwarf_Debug_s::de_debug_frame_size, DW_CIE_ID, and DW_DLV_OK.
Referenced by _dwarf_frame_address_offsets(), and print_frames().
| int dwarf_get_fde_list_eh | ( | Dwarf_Debug | , | |
| Dwarf_Cie ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Fde ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 846 of file dwarf_frame.c.
References __dwarf_get_fde_list_internal(), _dwarf_load_section(), Dwarf_Debug_s::de_debug_frame_eh_gnu, Dwarf_Debug_s::de_debug_frame_eh_gnu_index, Dwarf_Debug_s::de_debug_frame_size_eh_gnu, and DW_DLV_OK.
Referenced by print_frames().
| int dwarf_get_fde_n | ( | Dwarf_Fde * | , | |
| Dwarf_Unsigned | , | |||
| Dwarf_Fde * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 2026 of file dwarf_frame.c.
References _dwarf_error(), dbg, Dwarf_Debug_s::de_fde_count, DW_DLE_FDE_DBG_NULL, DW_DLE_FDE_NULL, DW_DLE_FDE_PTR_NULL, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, and NULL.
| int dwarf_get_fde_range | ( | Dwarf_Fde | , | |
| Dwarf_Addr * | , | |||
| Dwarf_Unsigned * | , | |||
| Dwarf_Ptr * | , | |||
| Dwarf_Unsigned * | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1718 of file dwarf_frame.c.
References _dwarf_error(), dbg, DW_DLE_FDE_DBG_NULL, DW_DLE_FDE_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Fde_s::fd_address_range, Dwarf_Fde_s::fd_cie_index, Dwarf_Fde_s::fd_cie_offset, Dwarf_Fde_s::fd_dbg, Dwarf_Fde_s::fd_fde_start, Dwarf_Fde_s::fd_initial_location, Dwarf_Fde_s::fd_length, Dwarf_Fde_s::fd_section_ptr, and NULL.
Referenced by print_frames().
| int dwarf_get_funcs | ( | Dwarf_Debug | , | |
| Dwarf_Func ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 49 of file dwarf_funcs.c.
References _dwarf_internal_get_pubnames_like_data(), _dwarf_load_section(), Dwarf_Debug_s::de_debug_funcnames, Dwarf_Debug_s::de_debug_funcnames_index, Dwarf_Debug_s::de_debug_funcnames_size, DW_DLA_FUNC_CONTEXT, DW_DLE_DEBUG_FUNCNAMES_LENGTH_BAD, DW_DLE_DEBUG_FUNCNAMES_VERSION_ERROR, and DW_DLV_OK.
Referenced by print_static_funcs().
| int dwarf_get_globals | ( | Dwarf_Debug | , | |
| Dwarf_Global ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 48 of file dwarf_global.c.
References _dwarf_internal_get_pubnames_like_data(), _dwarf_load_section(), Dwarf_Debug_s::de_debug_pubnames, Dwarf_Debug_s::de_debug_pubnames_index, DW_DLA_GLOBAL_CONTEXT, DW_DLE_PUBNAMES_LENGTH_BAD, DW_DLE_PUBNAMES_VERSION_ERROR, and DW_DLV_OK.
Referenced by print_pubnames().
| int dwarf_get_loclist_entry | ( | Dwarf_Debug | , | |
| Dwarf_Unsigned | , | |||
| Dwarf_Addr * | , | |||
| Dwarf_Addr * | , | |||
| Dwarf_Ptr * | , | |||
| Dwarf_Unsigned * | , | |||
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 876 of file dwarf_loc.c.
References _dwarf_load_section(), _dwarf_read_loc_section(), b, Dwarf_Block::bl_data, Dwarf_Block::bl_len, Dwarf_Block::bl_section_offset, Dwarf_Debug_s::de_debug_loc, Dwarf_Debug_s::de_debug_loc_index, and DW_DLV_OK.
Referenced by print_locs().
| int dwarf_get_macro | ( | Dwarf_Debug | , | |
| char * | , | |||
| Dwarf_Addr | , | |||
| char ** | , | |||
| Dwarf_Error * | ||||
| ) |
| int dwarf_get_macro_details | ( | Dwarf_Debug | , | |
| Dwarf_Off | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Macro_Details ** | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 160 of file dwarf_macro.c.
References _dwarf_decode_u_leb128(), _dwarf_error(), _dwarf_get_alloc(), _dwarf_load_section(), _dwarf_mac_pop_index(), _dwarf_mac_push_index(), _dwarf_reset_index_stack(), count, Dwarf_Debug_s::de_debug_macinfo, Dwarf_Debug_s::de_debug_macinfo_index, Dwarf_Debug_s::de_debug_macinfo_size, Dwarf_Macro_Details_s::dmd_fileindex, Dwarf_Macro_Details_s::dmd_lineno, Dwarf_Macro_Details_s::dmd_macro, Dwarf_Macro_Details_s::dmd_offset, Dwarf_Macro_Details_s::dmd_type, DW_DLA_STRING, DW_DLE_DBG_NULL, DW_DLE_DEBUG_MACRO_INCONSISTENT, DW_DLE_DEBUG_MACRO_INTERNAL_ERR, DW_DLE_DEBUG_MACRO_LENGTH_BAD, DW_DLE_DEBUG_MACRO_MALLOC_SPACE, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, DW_MACINFO_define, DW_MACINFO_end_file, DW_MACINFO_start_file, DW_MACINFO_undef, DW_MACINFO_vendor_ext, len, long, max_count, NULL, strcpy, strlen(), ULONG_MAX, and void.
Referenced by print_macinfo().
| int dwarf_get_relocation_info | ( | Dwarf_P_Debug | , | |
| Dwarf_Signed * | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Unsigned * | , | |||
| Dwarf_Relocation_Data * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 240 of file pro_reloc.c.
References Dwarf_P_Debug_s::de_elf_sects, Dwarf_P_Debug_s::de_flags, Dwarf_P_Debug_s::de_reloc_next_to_return, Dwarf_P_Debug_s::de_reloc_sect, DW_DLC_SYMBOLIC_RELOCATIONS, DW_DLE_REL_ALLOC, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, DWARF_P_DBG_ERROR, i, next, NUM_DEBUG_SECTIONS, Dwarf_P_Per_Reloc_Sect_s::pr_first_block, Dwarf_P_Per_Reloc_Sect_s::pr_reloc_total_count, Dwarf_P_Per_Reloc_Sect_s::pr_sect_num_of_reloc_sect, and Dwarf_P_Relocation_Block_s::rb_data.
Referenced by Cg_Dwarf_Write_Assembly_From_Symbolic_Relocs(), and Em_Dwarf_Write_Scns().
| int dwarf_get_relocation_info_count | ( | Dwarf_P_Debug | , | |
| Dwarf_Unsigned * | , | |||
| int * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 217 of file pro_reloc.c.
References count, Dwarf_P_Debug_s::de_flags, Dwarf_P_Debug_s::de_reloc_sect, DW_DLC_SYMBOLIC_RELOCATIONS, DW_DLV_NO_ENTRY, DW_DLV_OK, DWARF_DRD_BUFFER_VERSION, i, NUM_DEBUG_SECTIONS, and Dwarf_P_Per_Reloc_Sect_s::pr_reloc_total_count.
Referenced by Cg_Dwarf_Write_Assembly_From_Symbolic_Relocs(), and Em_Dwarf_Write_Scns().
| Dwarf_Ptr dwarf_get_section_bytes | ( | Dwarf_P_Debug | , | |
| Dwarf_Signed | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1964 of file pro_section.c.
References buf, Dwarf_P_Debug_s::de_debug_sects, Dwarf_P_Debug_s::de_version_magic_number, Dwarf_P_Section_Data_s::ds_data, Dwarf_P_Section_Data_s::ds_elf_sect_no, Dwarf_P_Section_Data_s::ds_nbytes, Dwarf_P_Section_Data_s::ds_next, DW_DLE_IA, DWARF_P_DBG_ERROR, MAGIC_SECT_NO, NULL, and PRO_VERSION_MAGIC.
Referenced by Cg_Dwarf_Write_Assembly_From_Elf(), Cg_Dwarf_Write_Assembly_From_Symbolic_Relocs(), and Em_Dwarf_Write_Scns().
| int dwarf_get_str | ( | Dwarf_Debug | , | |
| Dwarf_Off | , | |||
| char ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 46 of file dwarf_string.c.
References _dwarf_error(), _dwarf_load_section(), Dwarf_Debug_s::de_debug_str, Dwarf_Debug_s::de_debug_str_index, Dwarf_Debug_s::de_debug_str_size, DW_DLE_DBG_NULL, DW_DLE_DEBUG_STR_OFFSET_BAD, DW_DLE_STRING_PTR_NULL, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, NULL, and strlen().
Referenced by print_strings().
| int dwarf_get_types | ( | Dwarf_Debug | , | |
| Dwarf_Type ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 49 of file dwarf_types.c.
References _dwarf_internal_get_pubnames_like_data(), _dwarf_load_section(), Dwarf_Debug_s::de_debug_typenames, Dwarf_Debug_s::de_debug_typenames_index, Dwarf_Debug_s::de_debug_typenames_size, DW_DLA_TYPENAME_CONTEXT, DW_DLE_DEBUG_TYPENAMES_LENGTH_BAD, DW_DLE_DEBUG_TYPENAMES_VERSION_ERROR, and DW_DLV_OK.
Referenced by print_types().
| int dwarf_get_vars | ( | Dwarf_Debug | , | |
| Dwarf_Var ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 49 of file dwarf_vars.c.
References _dwarf_internal_get_pubnames_like_data(), _dwarf_load_section(), Dwarf_Debug_s::de_debug_varnames, Dwarf_Debug_s::de_debug_varnames_index, Dwarf_Debug_s::de_debug_varnames_size, DW_DLA_VAR_CONTEXT, DW_DLE_DEBUG_VARNAMES_LENGTH_BAD, DW_DLE_DEBUG_VARNAMES_VERSION_ERROR, and DW_DLV_OK.
Referenced by print_static_vars().
| int dwarf_get_weaks | ( | Dwarf_Debug | , | |
| Dwarf_Weak ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 49 of file dwarf_weaks.c.
References _dwarf_internal_get_pubnames_like_data(), _dwarf_load_section(), Dwarf_Debug_s::de_debug_weaknames, Dwarf_Debug_s::de_debug_weaknames_index, Dwarf_Debug_s::de_debug_weaknames_size, DW_DLA_WEAK_CONTEXT, DW_DLE_DEBUG_WEAKNAMES_LENGTH_BAD, DW_DLE_DEBUG_WEAKNAMES_VERSION_ERROR, and DW_DLV_OK.
Referenced by print_weaknames().
| int dwarf_global_cu_offset | ( | Dwarf_Global | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 367 of file dwarf_global.c.
References _dwarf_error(), DW_DLE_GLOBAL_CONTEXT_NULL, DW_DLE_GLOBAL_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Global_s::gl_context, NULL, and Dwarf_Global_Context_s::pu_offset_of_cu_header.
Referenced by dwarf_func_cu_offset(), dwarf_type_cu_offset(), dwarf_var_cu_offset(), dwarf_weak_cu_offset(), and print_pubnames().
| int dwarf_global_die_offset | ( | Dwarf_Global | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 334 of file dwarf_global.c.
References _dwarf_error(), DW_DLE_GLOBAL_CONTEXT_NULL, DW_DLE_GLOBAL_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Global_s::gl_context, Dwarf_Global_s::gl_named_die_offset_within_cu, NULL, and Dwarf_Global_Context_s::pu_offset_of_cu_header.
Referenced by dwarf_func_die_offset(), dwarf_type_die_offset(), dwarf_var_die_offset(), and dwarf_weak_die_offset().
| int dwarf_global_formref | ( | Dwarf_Attribute | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 235 of file dwarf_form.c.
References _dwarf_decode_u_leb128(), _dwarf_error(), Dwarf_Attribute_s::ar_attribute_form, Dwarf_Attribute_s::ar_cu_context, Dwarf_Attribute_s::ar_debug_info_ptr, Dwarf_CU_Context_s::cc_dbg, Dwarf_CU_Context_s::cc_debug_info_offset, Dwarf_CU_Context_s::cc_extension_size, Dwarf_CU_Context_s::cc_length, Dwarf_CU_Context_s::cc_length_size, dbg, DW_DLE_ATTR_DBG_NULL, DW_DLE_ATTR_FORM_OFFSET_BAD, DW_DLE_ATTR_NO_CU_CONTEXT, DW_DLE_ATTR_NULL, DW_DLE_BAD_REF_FORM, DW_DLV_ERROR, DW_DLV_OK, DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4, DW_FORM_ref8, DW_FORM_ref_addr, DW_FORM_ref_udata, NULL, offset, and READ_UNALIGNED.
Referenced by get_attr_value().
| int dwarf_global_name_offsets | ( | Dwarf_Global | , | |
| char ** | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 397 of file dwarf_global.c.
References _dwarf_error(), _dwarf_length_of_cu_header(), _dwarf_load_debug_info(), dbg, DW_DLE_DBG_NULL, DW_DLE_GLOBAL_CONTEXT_NULL, DW_DLE_GLOBAL_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Global_s::gl_context, Dwarf_Global_s::gl_name, Dwarf_Global_s::gl_named_die_offset_within_cu, NULL, Dwarf_Global_Context_s::pu_dbg, and Dwarf_Global_Context_s::pu_offset_of_cu_header.
Referenced by dwarf_func_name_offsets(), dwarf_type_name_offsets(), dwarf_var_name_offsets(), dwarf_weak_name_offsets(), and print_pubnames().
| int dwarf_globname | ( | Dwarf_Global | , | |
| char ** | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 314 of file dwarf_global.c.
References _dwarf_error(), DW_DLE_GLOBAL_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Global_s::gl_name, and NULL.
| int dwarf_hasattr | ( | Dwarf_Die | , | |
| Dwarf_Half | , | |||
| Dwarf_Bool * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 325 of file dwarf_query.c.
References _dwarf_error(), _dwarf_get_value_ptr(), Dwarf_CU_Context_s::cc_dbg, CHECK_DIE, Dwarf_Die_s::di_cu_context, DW_DLE_DIE_BAD, DW_DLV_ERROR, DW_DLV_OK, and NULL.
Referenced by print_pubnames(), and process_this_die_attrs().
| int dwarf_hasform | ( | Dwarf_Attribute | , | |
| Dwarf_Half | , | |||
| Dwarf_Bool * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 47 of file dwarf_form.c.
References _dwarf_error(), Dwarf_Attribute_s::ar_attribute_form, Dwarf_Attribute_s::ar_cu_context, Dwarf_CU_Context_s::cc_dbg, DW_DLE_ATTR_DBG_NULL, DW_DLE_ATTR_NO_CU_CONTEXT, DW_DLE_ATTR_NULL, DW_DLV_ERROR, DW_DLV_OK, and NULL.
| int dwarf_highpc | ( | Dwarf_Die | , | |
| Dwarf_Addr * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 418 of file dwarf_query.c.
References _dwarf_error(), _dwarf_get_value_ptr(), Dwarf_CU_Context_s::cc_dbg, CHECK_DIE, dbg, Dwarf_Debug_s::de_pointer_size, Dwarf_Die_s::di_cu_context, DW_AT_high_pc, DW_DLE_DIE_BAD, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, DW_FORM_addr, NULL, READ_UNALIGNED, and ret_addr.
| int dwarf_init | ( | int | , | |
| Dwarf_Unsigned | , | |||
| Dwarf_Handler | , | |||
| Dwarf_Ptr | , | |||
| Dwarf_Debug * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 527 of file dwarf_init_finish.c.
References _dwarf_get_debug(), _dwarf_setup(), _dwarf_setup_debug(), dbg, Dwarf_Debug_s::de_access, Dwarf_Debug_s::de_elf_must_close, Dwarf_Debug_s::de_errarg, Dwarf_Debug_s::de_errhand, DW_DLC_READ, DW_DLE_DBG_ALLOC, DW_DLE_ELF_BEGIN_ERROR, DW_DLE_FSTAT_ERROR, DW_DLE_FSTAT_MODE_ERROR, DW_DLE_INIT_ACCESS_WRONG, DW_DLE_MAF, DW_DLV_ERROR, DW_DLV_OK, DWARF_DBG_ERROR, elf_begin(), ELF_C_READ, elf_version(), EV_CURRENT, free(), fstat, NULL, S_ISREG, and stat::st_mode.
| int dwarf_isbitfield | ( | Dwarf_Die | , | |
| Dwarf_Bool * | , | |||
| Dwarf_Error * | ||||
| ) |
| int dwarf_lineaddr | ( | Dwarf_Line | , | |
| Dwarf_Addr * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1159 of file dwarf_line.c.
References _dwarf_error(), DW_DLE_DWARF_LINE_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Line_s::li_address, and NULL.
Referenced by print_line_numbers_this_cu().
| int dwarf_linebeginstatement | ( | Dwarf_Line | , | |
| Dwarf_Bool * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1118 of file dwarf_line.c.
References _dwarf_error(), DW_DLE_DWARF_LINE_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Line_s::li_addr_line, Dwarf_Line_s::addr_or_line_s::li_inner_s::li_is_stmt, Dwarf_Line_s::addr_or_line_s::li_l_data, and NULL.
Referenced by print_line_numbers_this_cu().
| int dwarf_lineblock | ( | Dwarf_Line | , | |
| Dwarf_Bool * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1330 of file dwarf_line.c.
References _dwarf_error(), DW_DLE_DWARF_LINE_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Line_s::li_addr_line, Dwarf_Line_s::addr_or_line_s::li_inner_s::li_basic_block, Dwarf_Line_s::addr_or_line_s::li_l_data, and NULL.
Referenced by print_line_numbers_this_cu().
| int dwarf_lineendsequence | ( | Dwarf_Line | , | |
| Dwarf_Bool * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1131 of file dwarf_line.c.
References _dwarf_error(), DW_DLE_DWARF_LINE_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Line_s::li_addr_line, Dwarf_Line_s::addr_or_line_s::li_inner_s::li_end_sequence, Dwarf_Line_s::addr_or_line_s::li_l_data, and NULL.
Referenced by print_line_numbers_this_cu().
| int dwarf_lineno | ( | Dwarf_Line | , | |
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1145 of file dwarf_line.c.
References _dwarf_error(), DW_DLE_DWARF_LINE_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Line_s::li_addr_line, Dwarf_Line_s::addr_or_line_s::li_l_data, Dwarf_Line_s::addr_or_line_s::li_inner_s::li_line, and NULL.
Referenced by print_line_numbers_this_cu().
| int dwarf_lineoff | ( | Dwarf_Line | , | |
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1173 of file dwarf_line.c.
References _dwarf_error(), DW_DLE_DWARF_LINE_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Line_s::li_addr_line, Dwarf_Line_s::addr_or_line_s::li_inner_s::li_column, Dwarf_Line_s::addr_or_line_s::li_l_data, and NULL.
Referenced by print_line_numbers_this_cu().
| int dwarf_linesrc | ( | Dwarf_Line | , | |
| char ** | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1189 of file dwarf_line.c.
References _dwarf_error(), _dwarf_get_alloc(), dbg, DW_DLA_STRING, DW_DLE_ALLOC_FAIL, DW_DLE_DWARF_LINE_NULL, DW_DLE_INCL_DIR_NUM_BAD, DW_DLE_LINE_CONTEXT_NULL, DW_DLE_LINE_FILE_NUM_BAD, DW_DLE_NO_FILE_NAME, DW_DLV_ERROR, DW_DLV_OK, Dwarf_File_Entry_s::fi_dir_index, Dwarf_File_Entry_s::fi_file_name, Dwarf_File_Entry_s::fi_next, i, Dwarf_Line_Context_s::lc_compilation_directory, Dwarf_Line_Context_s::lc_dbg, Dwarf_Line_Context_s::lc_file_entries, Dwarf_Line_Context_s::lc_file_entry_count, Dwarf_Line_Context_s::lc_include_directories, Dwarf_Line_Context_s::lc_include_directories_count, Dwarf_Line_s::li_addr_line, Dwarf_Line_s::li_context, Dwarf_Line_s::addr_or_line_s::li_inner_s::li_file, Dwarf_Line_s::addr_or_line_s::li_l_data, NULL, strcat(), strcpy, and strlen().
Referenced by print_line_numbers_this_cu().
| Dwarf_Unsigned dwarf_lne_end_sequence | ( | Dwarf_P_Debug | , | |
| Dwarf_Addr | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 116 of file pro_line.c.
References _dwarf_pro_add_line_entry(), DW_LNE_end_sequence, and opc.
Referenced by Em_Dwarf_End_Text_Lines().
| Dwarf_Unsigned dwarf_lne_set_address | ( | Dwarf_P_Debug | , | |
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 96 of file pro_line.c.
References _dwarf_pro_add_line_entry(), DW_LNE_set_address, and opc.
Referenced by Em_Dwarf_Start_Text_Lines().
| int dwarf_loclist | ( | Dwarf_Attribute | , | |
| Dwarf_Locdesc ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 781 of file dwarf_loc.c.
References _dwarf_get_locdesc(), _dwarf_get_loclist_header_start(), _dwarf_read_loc_section(), _dwarf_setup_loc(), dbg, DW_DLA_BLOCK, DW_DLV_ERROR, DW_DLV_OK, DW_FORM_data4, DW_FORM_data8, dwarf_dealloc(), dwarf_formblock(), and NULL.
Referenced by get_location_list(), and handle_attr_locdesc().
| int dwarf_loclist_n | ( | Dwarf_Attribute | , | |
| Dwarf_Locdesc *** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 635 of file dwarf_loc.c.
References _dwarf_cleanup_llbuf(), _dwarf_error(), _dwarf_get_alloc(), _dwarf_get_locdesc(), _dwarf_get_loclist_count(), _dwarf_get_loclist_header_start(), _dwarf_read_loc_section(), _dwarf_setup_loc(), Dwarf_Block::bl_len, Dwarf_Block::bl_section_offset, dbg, DW_DLA_BLOCK, DW_DLA_LIST, DW_DLA_LOCDESC, DW_DLE_ALLOC_FAIL, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, DW_FORM_data4, DW_FORM_data8, dwarf_dealloc(), dwarf_formblock(), and NULL.
Referenced by get_location_list().
| int dwarf_lowpc | ( | Dwarf_Die | , | |
| Dwarf_Addr * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 387 of file dwarf_query.c.
References _dwarf_error(), _dwarf_get_value_ptr(), Dwarf_CU_Context_s::cc_dbg, CHECK_DIE, dbg, Dwarf_Debug_s::de_pointer_size, Dwarf_Die_s::di_cu_context, DW_AT_low_pc, DW_DLE_DIE_BAD, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, DW_FORM_addr, NULL, READ_UNALIGNED, and ret_addr.
| Dwarf_P_Die dwarf_new_die | ( | Dwarf_P_Debug | , | |
| Dwarf_Tag | , | |||
| Dwarf_P_Die | , | |||
| Dwarf_P_Die | , | |||
| Dwarf_P_Die | , | |||
| Dwarf_P_Die | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 63 of file pro_die.c.
References _dwarf_p_get_alloc(), Dwarf_P_Die_s::di_child, Dwarf_P_Die_s::di_last_child, Dwarf_P_Die_s::di_left, Dwarf_P_Die_s::di_parent, Dwarf_P_Die_s::di_right, Dwarf_P_Die_s::di_tag, DW_DLE_DIE_ALLOC, DW_DLV_BADADDR, dwarf_die_link(), DWARF_P_DBG_ERROR, and NULL.
Referenced by Cg_Dwarf_Process_PU(), get_ref_die(), and preorder_visit().
| Dwarf_P_Expr dwarf_new_expr | ( | Dwarf_P_Debug | , | |
| Dwarf_Error * | ||||
| ) |
Definition at line 55 of file pro_expr.c.
References _dwarf_p_error(), _dwarf_p_get_alloc(), DW_DLE_ALLOC_FAIL, DW_DLE_DBG_NULL, Dwarf_P_Expr_s::ex_dbg, and NULL.
Referenced by Cg_Dwarf_Process_PU(), put_inheritance(), put_location(), put_member(), and put_subprogram().
| Dwarf_P_Fde dwarf_new_fde | ( | Dwarf_P_Debug | , | |
| Dwarf_Error * | ||||
| ) |
Definition at line 257 of file pro_frame.c.
References _dwarf_p_get_alloc(), Dwarf_P_Debug_s::de_offset_size, DW_DLE_FDE_ALLOC, DW_DLV_BADADDR, DWARF_P_DBG_ERROR, Dwarf_P_Fde_s::fde_inst, Dwarf_P_Fde_s::fde_last_inst, Dwarf_P_Fde_s::fde_n_bytes, Dwarf_P_Fde_s::fde_n_inst, Dwarf_P_Fde_s::fde_next, Dwarf_P_Fde_s::fde_uwordb_size, and NULL.
Referenced by Build_Fde_For_Proc().
| int dwarf_next_cu_header | ( | Dwarf_Debug | , | |
| Dwarf_Unsigned * | , | |||
| Dwarf_Half * | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Half * | , | |||
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 247 of file dwarf_die_deliv.c.
References _dwarf_error(), _dwarf_find_CU_Context(), _dwarf_length_of_cu_header_simple(), _dwarf_load_debug_info(), _dwarf_make_CU_Context(), Dwarf_CU_Context_s::cc_abbrev_offset, Dwarf_CU_Context_s::cc_address_size, Dwarf_CU_Context_s::cc_debug_info_offset, Dwarf_CU_Context_s::cc_extension_size, Dwarf_CU_Context_s::cc_length, Dwarf_CU_Context_s::cc_length_size, Dwarf_CU_Context_s::cc_version_stamp, Dwarf_Debug_s::de_cu_context, Dwarf_Debug_s::de_debug_info, Dwarf_Debug_s::de_debug_info_size, DW_DLE_DBG_NULL, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, and NULL.
Referenced by get_fde_proc_name(), handle_debug_info(), and print_infos().
| int dwarf_nthsubscr | ( | Dwarf_Die | , | |
| Dwarf_Unsigned | , | |||
| Dwarf_Die * | , | |||
| Dwarf_Error * | ||||
| ) |
| int dwarf_offdie | ( | Dwarf_Debug | , | |
| Dwarf_Off | , | |||
| Dwarf_Die * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 678 of file dwarf_die_deliv.c.
References _dwarf_error(), _dwarf_find_CU_Context(), _dwarf_find_offdie_CU_Context(), _dwarf_get_abbrev_for_code(), _dwarf_get_alloc(), _dwarf_length_of_cu_header_simple(), _dwarf_load_debug_info(), _dwarf_make_CU_Context(), Dwarf_CU_Context_s::cc_debug_info_offset, Dwarf_CU_Context_s::cc_extension_size, Dwarf_CU_Context_s::cc_length, Dwarf_CU_Context_s::cc_length_size, Dwarf_CU_Context_s::cc_next, Dwarf_Debug_s::de_cu_context_list_end, Dwarf_Debug_s::de_debug_info, Dwarf_Debug_s::de_debug_info_size, Dwarf_Debug_s::de_offdie_cu_context, Dwarf_Debug_s::de_offdie_cu_context_end, DECODE_LEB128_UWORD, Dwarf_Die_s::di_abbrev_list, Dwarf_Die_s::di_cu_context, Dwarf_Die_s::di_debug_info_ptr, die(), DW_DLA_DIE, DW_DLE_ALLOC_FAIL, DW_DLE_DBG_NULL, DW_DLE_DIE_ABBREV_LIST_NULL, DW_DLE_OFFSET_BAD, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, and NULL.
Referenced by get_attr_value(), print_aranges(), print_pubnames(), print_static_funcs(), print_static_vars(), print_types(), and print_weaknames().
| void dwarf_p_dealloc | ( | void * | , | |
| Dwarf_Unsigned | ||||
| ) |
Definition at line 63 of file pro_alloc.c.
References free().
Referenced by _dwarf_p_dealloc(), and dwarf_producer_finish().
| int dwarf_pcfile | ( | Dwarf_Debug | , | |
| Dwarf_Addr | , | |||
| Dwarf_Die * | , | |||
| Dwarf_Error * | ||||
| ) |
| int dwarf_pclines | ( | Dwarf_Debug | , | |
| Dwarf_Addr | , | |||
| Dwarf_Line ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Signed | , | |||
| Dwarf_Error * | ||||
| ) |
| int dwarf_pcscope | ( | Dwarf_Debug | , | |
| Dwarf_Addr | , | |||
| Dwarf_Die * | , | |||
| Dwarf_Error * | ||||
| ) |
| int dwarf_pcsubr | ( | Dwarf_Debug | , | |
| Dwarf_Addr | , | |||
| Dwarf_Die * | , | |||
| Dwarf_Error * | ||||
| ) |
| void dwarf_print_memory_stats | ( | Dwarf_Debug | ) |
Definition at line 827 of file dwarf_alloc.c.
References Dwarf_Alloc_Hdr_s::ah_bytes_malloc_per_chunk, Dwarf_Alloc_Hdr_s::ah_bytes_one_struct, Dwarf_Alloc_Hdr_s::ah_chunks_allocated, Dwarf_Alloc_Hdr_s::ah_struct_user_holds, Dwarf_Alloc_Hdr_s::ah_structs_per_chunk, Dwarf_Debug_s::de_alloc_hdr, i, ial_s::ia_al_num, indx, MAX_DW_DLA, NULL, and printf().
| Dwarf_Unsigned dwarf_producer_finish | ( | Dwarf_P_Debug | , | |
| Dwarf_Error * | ||||
| ) |
Definition at line 51 of file pro_finish.c.
References Dwarf_P_Debug_s::de_version_magic_number, DW_DLE_IA, DW_DLV_NOCOUNT, DWARF_P_DBG_ERROR, dwarf_p_dealloc(), and PRO_VERSION_MAGIC.
Referenced by Em_Dwarf_End().
| Dwarf_P_Debug dwarf_producer_init | ( | Dwarf_Unsigned | , | |
| Dwarf_Callback_Func | , | |||
| Dwarf_Handler | , | |||
| Dwarf_Ptr | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 99 of file pro_init.c.
References _dwarf_p_get_alloc(), common_init(), dbg, DW_DLE_DBG_ALLOC, DW_DLE_NO_CALLBACK_FUNC, DW_DLV_BADADDR, DWARF_P_DBG_ERROR, memset, and NULL.
| Dwarf_P_Debug dwarf_producer_init_b | ( | Dwarf_Unsigned | , | |
| Dwarf_Callback_Func_b | , | |||
| Dwarf_Handler | , | |||
| Dwarf_Ptr | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 71 of file pro_init.c.
References _dwarf_p_get_alloc(), common_init(), dbg, DW_DLE_DBG_ALLOC, DW_DLE_NO_CALLBACK_FUNC, DW_DLV_BADADDR, DWARF_P_DBG_ERROR, memset, and NULL.
Referenced by Em_Dwarf_Begin().
| void dwarf_reset_section_bytes | ( | Dwarf_P_Debug | ) |
Definition at line 2000 of file pro_section.c.
References Dwarf_P_Debug_s::de_debug_sects, Dwarf_P_Debug_s::de_first_debug_sect, and Dwarf_P_Debug_s::de_reloc_next_to_return.
Referenced by Cg_Dwarf_Write_Assembly_From_Elf(), Cg_Dwarf_Write_Assembly_From_Symbolic_Relocs(), and Em_Dwarf_Write_Scns().
| int dwarf_set_stringcheck | ( | int | ) |
| Dwarf_Ptr dwarf_seterrarg | ( | Dwarf_Debug | , | |
| Dwarf_Ptr | ||||
| ) |
| Dwarf_Handler dwarf_seterrhand | ( | Dwarf_Debug | , | |
| Dwarf_Handler | ||||
| ) |
| int dwarf_siblingof | ( | Dwarf_Debug | , | |
| Dwarf_Die | , | |||
| Dwarf_Die * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 484 of file dwarf_die_deliv.c.
References _dwarf_error(), _dwarf_get_abbrev_for_code(), _dwarf_get_alloc(), _dwarf_length_of_cu_header(), _dwarf_next_die_info_ptr(), Dwarf_CU_Context_s::cc_debug_info_offset, Dwarf_CU_Context_s::cc_extension_size, Dwarf_CU_Context_s::cc_length, Dwarf_CU_Context_s::cc_length_size, CHECK_DIE, Dwarf_Debug_s::de_cu_context, Dwarf_Debug_s::de_debug_info, DECODE_LEB128_UWORD, Dwarf_Die_s::di_abbrev_list, Dwarf_Die_s::di_cu_context, Dwarf_Die_s::di_debug_info_ptr, DW_DLA_DIE, DW_DLE_ALLOC_FAIL, DW_DLE_DBG_NO_CU_CONTEXT, DW_DLE_DBG_NULL, DW_DLE_FIRST_DIE_NOT_CU, DW_DLE_NEXT_DIE_PTR_NULL, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, DW_TAG_compile_unit, and NULL.
Referenced by do_this_die_and_dealloc(), get_fde_proc_name(), get_nested_proc_name(), handle_debug_info(), print_die_and_children(), and print_infos().
| int dwarf_srcfiles | ( | Dwarf_Die | , | |
| char *** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 59 of file dwarf_line.c.
References _dwarf_decode_u_leb128(), _dwarf_error(), _dwarf_get_alloc(), _dwarf_load_section(), Dwarf_CU_Context_s::cc_dbg, Dwarf_Chain_s::ch_item, Dwarf_Chain_s::ch_next, CHECK_DIE, CURRENT_VERSION_STAMP, CURRENT_VERSION_STAMP3, dbg, Dwarf_Debug_s::de_debug_line, Dwarf_Debug_s::de_debug_line_index, Dwarf_Debug_s::de_debug_line_size, DECODE_LEB128_UWORD, Dwarf_Die_s::di_cu_context, DW_AT_comp_dir, DW_AT_stmt_list, DW_DLA_ATTR, DW_DLA_CHAIN, DW_DLA_LIST, DW_DLA_STRING, DW_DLE_ALLOC_FAIL, DW_DLE_DEBUG_LINE_LENGTH_BAD, DW_DLE_DEBUG_LINE_NULL, DW_DLE_DIR_INDEX_BAD, DW_DLE_LINE_OFFSET_BAD, DW_DLE_LINE_PROLOG_LENGTH_BAD, DW_DLE_VERSION_STAMP_ERROR, DW_DLV_ERROR, DW_DLV_NO_ENTRY, DW_DLV_OK, dwarf_attr(), dwarf_dealloc(), dwarf_formstring(), dwarf_formudata(), file_name, i, line_ptr, NULL, READ_AREA_LENGTH, READ_UNALIGNED, strcat(), strcpy, strlen(), and version.
Referenced by print_infos().
| int dwarf_srclang | ( | Dwarf_Die | , | |
| Dwarf_Unsigned * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 560 of file dwarf_query.c.
References _dwarf_die_attr_unsigned_constant(), and DW_AT_language.
| int dwarf_srclines | ( | Dwarf_Die | , | |
| Dwarf_Line ** | , | |||
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 1096 of file dwarf_line.c.
References _dwarf_internal_srclines(), count, and DW_DLV_OK.
Referenced by print_line_numbers_this_cu().
| int dwarf_start_macro_file | ( | Dwarf_P_Debug | , | |
| Dwarf_Unsigned | , | |||
| Dwarf_Unsigned | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 361 of file pro_macinfo.c.
References _dwarf_p_error(), COMMAND_LEN, DW_DLE_DBG_NULL, DW_DLV_ERROR, DW_DLV_OK, DW_MACINFO_start_file, libdwarf_compose_add_line(), libdwarf_compose_begin(), libdwarf_compose_complete(), LINE_LEN, and NULL.
| int dwarf_stringlen | ( | Dwarf_Die | , | |
| Dwarf_Locdesc ** | , | |||
| Dwarf_Error * | ||||
| ) |
| int dwarf_subscrcnt | ( | Dwarf_Die | , | |
| Dwarf_Signed * | , | |||
| Dwarf_Error * | ||||
| ) |
| int dwarf_tag | ( | Dwarf_Die | , | |
| Dwarf_Half * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 97 of file dwarf_query.c.
References Dwarf_Abbrev_List_s::ab_tag, CHECK_DIE, Dwarf_Die_s::di_abbrev_list, DW_DLV_ERROR, and DW_DLV_OK.
| Dwarf_Signed dwarf_transform_to_disk_form | ( | Dwarf_P_Debug | , | |
| Dwarf_Error * | ||||
| ) |
Definition at line 210 of file pro_section.c.
References _dwarf_pro_generate_debugframe(), _dwarf_pro_generate_debuginfo(), _dwarf_pro_generate_debugline(), _dwarf_pro_transform_macro_info_to_disk(), _dwarf_sectnames, _dwarf_transform_arange_to_disk(), _dwarf_transform_simplename_to_disk(), _dwf_pro_generate_ehframe(), Dwarf_P_Debug_s::de_arange, Dwarf_P_Debug_s::de_dies, Dwarf_P_Debug_s::de_eh_frame_cies, Dwarf_P_Debug_s::de_elf_sects, Dwarf_P_Debug_s::de_first_macinfo, Dwarf_P_Debug_s::de_frame_cies, Dwarf_P_Debug_s::de_func, Dwarf_P_Debug_s::de_func_b, Dwarf_P_Debug_s::de_sect_name_idx, Dwarf_P_Debug_s::de_simple_name_headers, Dwarf_P_Debug_s::de_strings, Dwarf_P_Debug_s::de_transform_relocs_to_disk, Dwarf_P_Debug_s::de_version_magic_number, DEBUG_ABBREV, DEBUG_ARANGES, DEBUG_FRAME, DEBUG_FUNCNAMES, DEBUG_INFO, DEBUG_LINE, DEBUG_LOC, DEBUG_MACINFO, DEBUG_PUBNAMES, DEBUG_STR, DEBUG_TYPENAMES, DEBUG_VARNAMES, DEBUG_WEAKNAMES, DW_DLE_DEBUGFRAME_ERROR, DW_DLE_DEBUGINFO_ERROR, DW_DLE_DEBUGLINE_ERROR, DW_DLE_DEBUGMACINFO_ERROR, DW_DLE_ELF_SECT_ERR, DW_DLE_IA, DW_DLV_NOCOUNT, DW_DLV_OK, dwarf_need_debug_line_section(), DWARF_P_DBG_ERROR, dwarf_snk_funcname, dwarf_snk_pubname, dwarf_snk_typename, dwarf_snk_varname, dwarf_snk_weakname, EH_FRAME, err, FALSE, flags, NULL, NUM_DEBUG_SECTIONS, PRO_VERSION_MAGIC, SECTION_TYPE, SHF_ALLOC, SHF_MIPS_NOSTRIP, SHN_UNDEF, Dwarf_P_Simple_name_header_s::sn_head, and TRUE.
Referenced by Em_Dwarf_Prepare_Output().
| int dwarf_type_cu_offset | ( | Dwarf_Type | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 106 of file dwarf_types.c.
References dwarf_global_cu_offset().
Referenced by print_types().
| int dwarf_type_die_offset | ( | Dwarf_Type | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
| int dwarf_type_name_offsets | ( | Dwarf_Type | , | |
| char ** | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 117 of file dwarf_types.c.
References dwarf_global_name_offsets().
Referenced by print_types().
| int dwarf_typename | ( | Dwarf_Type | , | |
| char ** | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 81 of file dwarf_types.c.
References _dwarf_error(), DW_DLE_TYPE_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Global_s::gl_name, and NULL.
| int dwarf_undef_macro | ( | Dwarf_P_Debug | , | |
| Dwarf_Unsigned | , | |||
| char * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 307 of file pro_macinfo.c.
References _dwarf_p_error(), COMMAND_LEN, DW_DLE_DBG_NULL, DW_DLE_MACINFO_STRING_EMPTY, DW_DLE_MACINFO_STRING_NULL, DW_DLV_ERROR, DW_DLV_OK, DW_MACINFO_undef, libdwarf_compose_add_line(), libdwarf_compose_add_string(), libdwarf_compose_begin(), libdwarf_compose_complete(), LINE_LEN, NULL, and strlen().
| int dwarf_var_cu_offset | ( | Dwarf_Var | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 106 of file dwarf_vars.c.
References dwarf_global_cu_offset().
Referenced by print_static_vars().
| int dwarf_var_die_offset | ( | Dwarf_Var | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
| int dwarf_var_name_offsets | ( | Dwarf_Var | , | |
| char ** | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 116 of file dwarf_vars.c.
References dwarf_global_name_offsets().
Referenced by print_static_vars().
| int dwarf_varname | ( | Dwarf_Var | , | |
| char ** | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 80 of file dwarf_vars.c.
References _dwarf_error(), DW_DLE_VAR_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Global_s::gl_name, and NULL.
| int dwarf_vendor_ext | ( | Dwarf_P_Debug | , | |
| Dwarf_Unsigned | , | |||
| char * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 434 of file pro_macinfo.c.
References _dwarf_p_error(), COMMAND_LEN, DW_DLE_DBG_NULL, DW_DLE_MACINFO_STRING_EMPTY, DW_DLE_MACINFO_STRING_NULL, DW_DLV_ERROR, DW_DLV_OK, DW_MACINFO_vendor_ext, libdwarf_compose_add_line(), libdwarf_compose_add_string(), libdwarf_compose_begin(), libdwarf_compose_complete(), LINE_LEN, NULL, and strlen().
| int dwarf_weak_cu_offset | ( | Dwarf_Weak | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 106 of file dwarf_weaks.c.
References dwarf_global_cu_offset().
Referenced by print_weaknames().
| int dwarf_weak_die_offset | ( | Dwarf_Weak | , | |
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
| int dwarf_weak_name_offsets | ( | Dwarf_Weak | , | |
| char ** | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Off * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 116 of file dwarf_weaks.c.
References dwarf_global_name_offsets().
Referenced by print_weaknames().
| int dwarf_weakname | ( | Dwarf_Weak | , | |
| char ** | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 82 of file dwarf_weaks.c.
References _dwarf_error(), DW_DLE_WEAK_NULL, DW_DLV_ERROR, DW_DLV_OK, Dwarf_Global_s::gl_name, and NULL.
| int dwarf_whatattr | ( | Dwarf_Attribute | , | |
| Dwarf_Half * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 123 of file dwarf_form.c.
References _dwarf_error(), Dwarf_Attribute_s::ar_attribute, Dwarf_Attribute_s::ar_cu_context, Dwarf_CU_Context_s::cc_dbg, DW_DLE_ATTR_DBG_NULL, DW_DLE_ATTR_NO_CU_CONTEXT, DW_DLE_ATTR_NULL, DW_DLV_ERROR, DW_DLV_OK, and NULL.
Referenced by get_attr_value(), get_proc_name(), and print_one_die().
| int dwarf_whatform | ( | Dwarf_Attribute | , | |
| Dwarf_Half * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 91 of file dwarf_form.c.
References _dwarf_error(), Dwarf_Attribute_s::ar_attribute_form, Dwarf_Attribute_s::ar_cu_context, Dwarf_CU_Context_s::cc_dbg, DW_DLE_ATTR_DBG_NULL, DW_DLE_ATTR_NO_CU_CONTEXT, DW_DLE_ATTR_NULL, DW_DLV_ERROR, DW_DLV_OK, and NULL.
Referenced by _dwarf_setup_loc(), dwarf_whatform_direct(), get_attr_value(), handle_attr_addr(), handle_attr_locdesc(), print_aranges(), and print_infos().
| int dwarf_whatform_direct | ( | Dwarf_Attribute | , | |
| Dwarf_Half * | , | |||
| Dwarf_Error * | ||||
| ) |
Definition at line 77 of file dwarf_form.c.
References Dwarf_Attribute_s::ar_attribute_form_direct, DW_DLV_OK, and dwarf_whatform().
Referenced by get_attr_value().
1.5.6