Home
last modified time | relevance | path

Searched refs:sec_size (Results 1 – 3 of 3) sorted by relevance

/external/libunwind/src/dwarf/
DGfind_proc_info-lsb.c134 size_t sec_size = sec_hdrs[shstrndx].sh_size; in load_debug_frame() local
135 stringtab = malloc (sec_size); in load_debug_frame()
137 if (stringtab == NULL || fread (stringtab, 1, sec_size, f) != sec_size) in load_debug_frame()
143 if (sec_position >= sec_size) in load_debug_frame()
147 if (sec_position + sizeof(".debug_frame") <= sec_size in load_debug_frame()
159 else if (sec_position + sizeof(".gnu_debuglink") <= sec_size in load_debug_frame()
180 && sec_position + sizeof(".gnu_debugdata") <= sec_size in load_debug_frame()
215 if (sec_hdrs[j].sh_name + sizeof(".text") <= sec_size in load_debug_frame()
/external/elfutils/libdw/
Ddwarf_ranges.c423 size_t sec_size = cu->dbg->sectiondata[secidx]->d_size; in initial_offset() local
425 if (offset_size > sec_size) in initial_offset()
433 if (range_base_off > (sec_size - offset_size)) in initial_offset()
436 size_t max_idx = (sec_size - offset_size - range_base_off) / offset_size; in initial_offset()
Ddwarf_getlocation.c756 size_t sec_size = cu->dbg->sectiondata[secidx]->d_size; in initial_offset() local
758 if (offset_size > sec_size) in initial_offset()
766 if (loc_base_off > (sec_size - offset_size)) in initial_offset()
769 size_t max_idx = (sec_size - offset_size - loc_base_off) / offset_size; in initial_offset()