Home
last modified time | relevance | path

Searched refs:sectiondata (Results 1 – 24 of 24) sorted by relevance

/external/elfutils/libdw/
Ddwarf_getpubnames.c50 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()
Ddwarf_getstring.c44 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()
Ddwarf_getabbrev.c44 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()
Ddwarf_getaranges.c70 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()
198 const char *cu_header = (dbg->sectiondata[IDX_debug_info]->d_buf in dwarf_getaranges()
215 >= dbg->sectiondata[IDX_debug_info]->d_size)) in dwarf_getaranges()
Ddwarf_begin_elf.c128 if (unlikely (result->sectiondata[cnt] != NULL)) in check_section()
166 result->sectiondata[cnt] = data; in check_section()
183 && unlikely (result->sectiondata[IDX_debug_info] == NULL)) in valid_p()
191 if (result != NULL && result->sectiondata[IDX_debug_loc] != NULL) in valid_p()
205 = result->sectiondata[IDX_debug_loc]->d_buf; in valid_p()
207 = (result->sectiondata[IDX_debug_loc]->d_buf in valid_p()
208 + result->sectiondata[IDX_debug_loc]->d_size); in valid_p()
Ddwarf_nextcu.c54 || unlikely (dwarf->sectiondata[sec_idx] == NULL) in dwarf_next_unit()
58 || unlikely (off + 4 >= dwarf->sectiondata[sec_idx]->d_size)) in dwarf_next_unit()
66 const unsigned char *data = dwarf->sectiondata[sec_idx]->d_buf; in dwarf_next_unit()
111 >= dwarf->sectiondata[sec_idx]->d_size)) in dwarf_next_unit()
Ddwarf_hasattr.c57 = ((unsigned char *) dbg->sectiondata[IDX_debug_abbrev]->d_buf in dwarf_hasattr()
58 + dbg->sectiondata[IDX_debug_abbrev]->d_size); in dwarf_hasattr()
Ddwarf_formstring.c62 || dbg_ret->sectiondata[IDX_debug_str] == NULL) in dwarf_formstring()
73 return (const char *) dbg_ret->sectiondata[IDX_debug_str]->d_buf + off; in dwarf_formstring()
Ddwarf_getcfi.c43 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()
Ddwarf_getattrs.c66 endp = ((const unsigned char *) dbg->sectiondata[IDX_debug_abbrev]->d_buf in dwarf_getattrs()
67 + dbg->sectiondata[IDX_debug_abbrev]->d_size); in dwarf_getattrs()
Ddwarf_formref_die.c94 datap = cu->dbg->sectiondata[IDX_debug_types]->d_buf; in dwarf_formref_die()
95 size = cu->dbg->sectiondata[IDX_debug_types]->d_size; in dwarf_formref_die()
Ddwarf_child.c60 = ((unsigned char *) dbg->sectiondata[IDX_debug_abbrev]->d_buf in __libdw_find_attr()
61 + dbg->sectiondata[IDX_debug_abbrev]->d_size); in __libdw_find_attr()
Ddwarf_offdie.c46 Elf_Data *const data = dbg->sectiondata[debug_types ? IDX_debug_types in __libdw_offdie()
DlibdwP.h148 Elf_Data *sectiondata[IDX_last]; member
341 .addr = ((char *) fromcu->dbg->sectiondata[cu_sec_idx (fromcu)]->d_buf \
610 Elf_Data *data = dbg->sectiondata[sec_index]; in __libdw_checked_get_data()
Ddwarf_ranges.c105 const Elf_Data *d = die->cu->dbg->sectiondata[IDX_debug_ranges]; in dwarf_ranges()
Dlibdw_findcu.c96 Elf_Data *data = dbg->sectiondata[debug_types in __libdw_intern_next_unit()
Ddwarf_getmacros.c303 Elf_Data *d = dbg->sectiondata[sec_index]; in read_macros()
471 if (macoff >= dbg->sectiondata[IDX_debug_macro]->d_size) in gnu_macros_getmacros_off()
Ddwarf_formudata.c45 const Elf_Data *d = attr->cu->dbg->sectiondata[sec_index]; in __libdw_formptr()
Ddwarf_getlocation.c775 const Elf_Data *d = attr->cu->dbg->sectiondata[IDX_debug_loc]; in dwarf_getlocation_addr()
856 const Elf_Data *d = attr->cu->dbg->sectiondata[IDX_debug_loc]; in dwarf_getlocations()
DChangeLog900 * dwarf_formstring.c (dwarf_formstring): Check dbg_ret->sectiondata,
901 not dbg->sectiondata.
/external/elfutils/libdwelf/
Ddwelf_dwarf_gnu_debugaltlink.c40 Elf_Data *data = dwarf->sectiondata[IDX_gnu_debugaltlink]; in dwelf_dwarf_gnu_debugaltlink()
/external/elfutils/libdwfl/
Dcu.c174 if (unlikely (cuoff + 4 >= mod->dw->sectiondata[IDX_debug_info]->d_size)) in intern_cu()
/external/elfutils/src/
Dreadelf.c4629 const size_t sh_size = (dbg->sectiondata[IDX_debug_abbrev] ? in print_debug_abbrev_section()
4630 dbg->sectiondata[IDX_debug_abbrev]->d_size : 0); in print_debug_abbrev_section()
4775 Elf_Data *data = dbg->sectiondata[IDX_debug_aranges]; in print_debug_aranges_section()
4929 Elf_Data *data = dbg->sectiondata[IDX_debug_ranges]; in print_debug_ranges_section()
5500 : dbg->sectiondata[IDX_debug_frame]); in print_debug_frame_section()
6478 Elf_Data *data = dbg->sectiondata[IDX_debug_line]; in print_debug_line_section()
6991 Elf_Data *data = dbg->sectiondata[IDX_debug_loc]; in print_debug_loc_section()
7128 Elf_Data *data = dbg->sectiondata[IDX_debug_macinfo]; in print_debug_macinfo_section()
7290 Elf_Data *data = dbg->sectiondata[IDX_debug_macro]; in print_debug_macro_section()
7723 const size_t sh_size = (dbg->sectiondata[IDX_debug_str] ? in print_debug_str_section()
[all …]
DChangeLog777 data, use the possibly decompressed .[z]debug sectiondata.