/external/elfutils/libdw/ |
D | dwarf_begin_elf.c | 150 if (unlikely (result->sectiondata[cnt] != NULL)) in check_section() 180 result->sectiondata[cnt] = data; in check_section() 215 && unlikely (result->sectiondata[IDX_debug_info] == NULL in valid_p() 216 && result->sectiondata[IDX_debug_line] == NULL in valid_p() 217 && result->sectiondata[IDX_debug_frame] == NULL)) in valid_p() 228 if (result != NULL && result->sectiondata[IDX_debug_loc] != NULL) in valid_p() 243 = result->sectiondata[IDX_debug_loc]->d_buf; in valid_p() 245 = (result->sectiondata[IDX_debug_loc]->d_buf in valid_p() 246 + result->sectiondata[IDX_debug_loc]->d_size); in valid_p() 254 if (result != NULL && result->sectiondata[IDX_debug_loclists] != NULL) in valid_p() [all …]
|
D | libdw_findcu.c | 70 Elf_Data *dbg1_data = dbg1->sectiondata[IDX_debug_info]; in __libdw_finddbg_cb() 74 Elf_Data *dbg2_data = dbg2->sectiondata[IDX_debug_info]; in __libdw_finddbg_cb() 142 Elf_Data *data = dbg->sectiondata[sec_idx]; in __libdw_intern_next_unit() 267 if (addr >= dbg->sectiondata[IDX_debug_info]->d_buf in __libdw_findcu_addr() 268 && addr < (dbg->sectiondata[IDX_debug_info]->d_buf in __libdw_findcu_addr() 269 + dbg->sectiondata[IDX_debug_info]->d_size)) in __libdw_findcu_addr() 272 start = addr - dbg->sectiondata[IDX_debug_info]->d_buf; in __libdw_findcu_addr() 274 else if (dbg->sectiondata[IDX_debug_types] != NULL in __libdw_findcu_addr() 275 && addr >= dbg->sectiondata[IDX_debug_types]->d_buf in __libdw_findcu_addr() 276 && addr < (dbg->sectiondata[IDX_debug_types]->d_buf in __libdw_findcu_addr() [all …]
|
D | dwarf_formstring.c | 62 ? dbg_ret->sectiondata[IDX_debug_line_str] in dwarf_formstring() 63 : dbg_ret->sectiondata[IDX_debug_str]); in dwarf_formstring() 142 if (dbg->sectiondata[IDX_debug_str_offsets] == NULL) in dwarf_formstring() 150 if (cu->offset_size > dbg->sectiondata[IDX_debug_str_offsets]->d_size) in dwarf_formstring() 158 if (str_off > (dbg->sectiondata[IDX_debug_str_offsets]->d_size in dwarf_formstring() 162 size_t max_idx = (dbg->sectiondata[IDX_debug_str_offsets]->d_size in dwarf_formstring() 167 datap = (dbg->sectiondata[IDX_debug_str_offsets]->d_buf in dwarf_formstring() 174 if (off > dbg->sectiondata[IDX_debug_str]->d_size) in dwarf_formstring()
|
D | dwarf_getpubnames.c | 50 unsigned char *const startp = dbg->sectiondata[IDX_debug_pubnames]->d_buf; in get_offsets() 52 unsigned char *endp = readp + dbg->sectiondata[IDX_debug_pubnames]->d_size; in get_offsets() 91 size_t max_size = dbg->sectiondata[IDX_debug_pubnames]->d_size; in get_offsets() 115 = ((unsigned char *) dbg->sectiondata[IDX_debug_info]->d_buf in get_offsets() 157 if (unlikely (dbg->sectiondata[IDX_debug_pubnames] == NULL in dwarf_getpubnames() 159 >= dbg->sectiondata[IDX_debug_pubnames]->d_size))) in dwarf_getpubnames() 187 = (unsigned char *) dbg->sectiondata[IDX_debug_pubnames]->d_buf; in dwarf_getpubnames() 189 = startp + dbg->sectiondata[IDX_debug_pubnames]->d_size; in dwarf_getpubnames() 238 startp = (unsigned char *) dbg->sectiondata[IDX_debug_pubnames]->d_buf; in dwarf_getpubnames()
|
D | dwarf_getstring.c | 44 if (dbg->sectiondata[IDX_debug_str] == NULL in dwarf_getstring() 45 || offset >= dbg->sectiondata[IDX_debug_str]->d_size) in dwarf_getstring() 52 const char *result = ((const char *) dbg->sectiondata[IDX_debug_str]->d_buf in dwarf_getstring() 55 dbg->sectiondata[IDX_debug_str]->d_size - offset); in dwarf_getstring()
|
D | dwarf_getabbrev.c | 44 if (dbg->sectiondata[IDX_debug_abbrev] == NULL) in __libdw_getabbrev() 47 if (offset >= dbg->sectiondata[IDX_debug_abbrev]->d_size) in __libdw_getabbrev() 54 = (unsigned char *) dbg->sectiondata[IDX_debug_abbrev]->d_buf + offset; in __libdw_getabbrev() 76 const unsigned char *end = (dbg->sectiondata[IDX_debug_abbrev]->d_buf in __libdw_getabbrev() 77 + dbg->sectiondata[IDX_debug_abbrev]->d_size); in __libdw_getabbrev() 175 Elf_Data *data = dbg->sectiondata[IDX_debug_abbrev]; in dwarf_getabbrev()
|
D | dwarf_formaddr.c | 45 if (dbg->sectiondata[IDX_debug_addr] == NULL) in __libdw_addrx() 53 if (cu->address_size > dbg->sectiondata[IDX_debug_addr]->d_size) in __libdw_addrx() 60 if (addr_off > (dbg->sectiondata[IDX_debug_addr]->d_size in __libdw_addrx() 65 if (idx > (dbg->sectiondata[IDX_debug_addr]->d_size in __libdw_addrx() 70 datap = dbg->sectiondata[IDX_debug_addr]->d_buf + addr_off + idx; in __libdw_addrx()
|
D | dwarf_nextcu.c | 74 || unlikely (dwarf->sectiondata[sec_idx] == NULL) in INTDEF() 78 || unlikely (off + 4 >= dwarf->sectiondata[sec_idx]->d_size)) in INTDEF() 86 const unsigned char *data = dwarf->sectiondata[sec_idx]->d_buf; in INTDEF() 88 const unsigned char *bytes_end = data + dwarf->sectiondata[sec_idx]->d_size; in INTDEF() 216 >= dwarf->sectiondata[sec_idx]->d_size)) in INTDEF()
|
D | dwarf_getaranges.c | 70 if (dbg->sectiondata[IDX_debug_aranges] == NULL) in dwarf_getaranges() 79 if (dbg->sectiondata[IDX_debug_aranges]->d_buf == NULL) in dwarf_getaranges() 85 const unsigned char *readp = dbg->sectiondata[IDX_debug_aranges]->d_buf; in dwarf_getaranges() 87 = readp + dbg->sectiondata[IDX_debug_aranges]->d_size; in dwarf_getaranges() 218 >= dbg->sectiondata[IDX_debug_info]->d_size)) in dwarf_getaranges()
|
D | dwarf_get_units.c | 69 if (off >= cu->dbg->sectiondata[IDX_debug_info]->d_size) in dwarf_get_units() 71 if (cu->dbg->sectiondata[IDX_debug_types] == NULL) in dwarf_get_units() 79 if (off >= cu->dbg->sectiondata[IDX_debug_types]->d_size) in dwarf_get_units()
|
D | dwarf_getcfi.c | 43 if (dbg->cfi == NULL && dbg->sectiondata[IDX_debug_frame] != NULL) in dwarf_getcfi() 48 cfi->data = (Elf_Data_Scn *) dbg->sectiondata[IDX_debug_frame]; in dwarf_getcfi()
|
D | libdwP.h | 162 Elf_Data *sectiondata[IDX_last]; member 464 .addr = ((char *) (fromcu)->dbg->sectiondata[cu_sec_idx (fromcu)]->d_buf \ 472 .addr = ((char *) (fromcu)->dbg->sectiondata[cu_sec_idx (fromcu)]->d_buf \ 835 Elf_Data *data = dbg->sectiondata[sec_index]; in __libdw_checked_get_data() 1071 Elf_Data *data = dbg->sectiondata[IDX_debug_str_offsets]; in str_offsets_base_off() 1157 Elf_Data *data = cu->dbg->sectiondata[IDX_debug_rnglists]; in __libdw_cu_ranges_base() 1235 Elf_Data *data = cu->dbg->sectiondata[IDX_debug_loclists]; in __libdw_cu_locs_base() 1308 if (sdbg->sectiondata[IDX_debug_addr] == NULL in __libdw_link_skel_split() 1309 && dbg->sectiondata[IDX_debug_addr] != NULL) in __libdw_link_skel_split() 1311 sdbg->sectiondata[IDX_debug_addr] in __libdw_link_skel_split() [all …]
|
D | dwarf_ranges.c | 404 Elf_Data *data = cu->dbg->sectiondata[secidx]; in initial_offset() 409 data = cu->dbg->sectiondata[secidx]; in initial_offset() 423 size_t sec_size = cu->dbg->sectiondata[secidx]->d_size; in initial_offset() 440 datap = (cu->dbg->sectiondata[secidx]->d_buf in initial_offset() 491 const Elf_Data *d = cu->dbg->sectiondata[secidx]; in dwarf_ranges() 498 d = cu->dbg->sectiondata[secidx]; in dwarf_ranges()
|
D | dwarf_formref_die.c | 112 datap = cu->dbg->sectiondata[secid]->d_buf; in dwarf_formref_die() 113 size = cu->dbg->sectiondata[secid]->d_size; in dwarf_formref_die()
|
D | dwarf_formudata.c | 45 const Elf_Data *d = attr->cu->dbg->sectiondata[sec_index]; in __libdw_formptr() 54 d = skel->dbg->sectiondata[IDX_debug_ranges]; in __libdw_formptr() 75 Elf_Data *data = attr->cu->dbg->sectiondata[cu_sec_idx (attr->cu)]; in __libdw_formptr()
|
D | dwarf_getlocation.c | 741 Elf_Data *data = cu->dbg->sectiondata[secidx]; in initial_offset() 746 data = cu->dbg->sectiondata[secidx]; in initial_offset() 760 size_t sec_size = cu->dbg->sectiondata[secidx]->d_size; in initial_offset() 777 datap = (cu->dbg->sectiondata[secidx]->d_buf in initial_offset() 923 const Elf_Data *d = attr->cu->dbg->sectiondata[secidx]; in dwarf_getlocation_addr() 1009 const Elf_Data *d = attr->cu->dbg->sectiondata[secidx]; in dwarf_getlocations()
|
D | dwarf_offdie.c | 46 Elf_Data *const data = dbg->sectiondata[debug_types ? IDX_debug_types in __libdw_offdie()
|
D | dwarf_getsrcfiles.c | 65 if (cu->dbg->sectiondata[IDX_debug_line] != NULL) in dwarf_getsrcfiles()
|
D | dwarf_getlocation_attr.c | 60 Elf_Data *debug_addr = cu->dbg->sectiondata[IDX_debug_addr]; in addr_valp()
|
D | dwarf_next_lines.c | 46 Elf_Data *lines = dbg->sectiondata[IDX_debug_line]; in dwarf_next_lines()
|
D | dwarf_getmacros.c | 307 Elf_Data *d = dbg->sectiondata[sec_index]; in read_macros() 494 if (macoff >= dbg->sectiondata[IDX_debug_macro]->d_size) in gnu_macros_getmacros_off()
|
D | ChangeLog | 519 IDX_debug_addr sectiondata and fake_addr_cu between split and 541 * dwarf_ranges.c (dwarf_ranges): Switch cu and sectiondata for 907 * dwarf_offdie.c (__libdw_offdie): Check sectiondata exists. 1990 * dwarf_formstring.c (dwarf_formstring): Check dbg_ret->sectiondata, 1991 not dbg->sectiondata.
|
/external/elfutils/libdwelf/ |
D | dwelf_dwarf_gnu_debugaltlink.c | 40 Elf_Data *data = dwarf->sectiondata[IDX_gnu_debugaltlink]; in dwelf_dwarf_gnu_debugaltlink()
|
/external/elfutils/libdwfl/ |
D | cu.c | 176 if (unlikely (cuoff + 4 >= mod->dw->sectiondata[IDX_debug_info]->d_size)) in intern_cu()
|
/external/elfutils/src/ |
D | readelf.c | 4340 Elf_Data *debug_addr = cu->dbg->sectiondata[IDX_debug_addr]; in get_indexed_addr() 5088 const size_t sh_size = (dbg->sectiondata[IDX_debug_abbrev] ? in print_debug_abbrev_section() 5089 dbg->sectiondata[IDX_debug_abbrev]->d_size : 0); in print_debug_abbrev_section() 5170 Elf_Data *data = (dbg->sectiondata[IDX_debug_addr] in print_debug_addr_section() 5460 Elf_Data *data = (dbg->sectiondata[IDX_debug_aranges] in print_debug_aranges_section() 5642 Elf_Data *data =(dbg->sectiondata[IDX_debug_rnglists] in print_debug_rnglists_section() 6013 Elf_Data *data = (dbg->sectiondata[IDX_debug_ranges] in print_debug_ranges_section() 6623 : (dbg->sectiondata[IDX_debug_frame] in print_debug_frame_section() 7762 cu_mem.end = dbg->sectiondata[IDX_debug_info]->d_size; in print_debug_units() 8271 data = dbg->sectiondata[IDX_debug_str]; in print_form_data() [all …]
|