Lines Matching refs:str_tab_idx
357 size_t str_tab_idx = 0; in e32_relocate() local
377 str_tab_idx = shdr[sym_tab_idx].sh_link; in e32_relocate()
378 if (str_tab_idx) { in e32_relocate()
379 if (str_tab_idx >= elf->e_shnum) in e32_relocate()
382 str_tab_idx = confine_array_index(str_tab_idx, in e32_relocate()
386 if (ADD_OVERFLOW(shdr[str_tab_idx].sh_addr, in e32_relocate()
387 shdr[str_tab_idx].sh_size, &sh_end)) in e32_relocate()
394 shdr[str_tab_idx].sh_addr); in e32_relocate()
395 str_tab_size = shdr[str_tab_idx].sh_size; in e32_relocate()
597 size_t str_tab_idx = 0; in e64_relocate() local
617 str_tab_idx = shdr[sym_tab_idx].sh_link; in e64_relocate()
618 if (str_tab_idx) { in e64_relocate()
619 if (str_tab_idx >= elf->e_shnum) in e64_relocate()
622 str_tab_idx = confine_array_index(str_tab_idx, in e64_relocate()
626 if (ADD_OVERFLOW(shdr[str_tab_idx].sh_addr, in e64_relocate()
627 shdr[str_tab_idx].sh_size, &sh_end)) in e64_relocate()
634 shdr[str_tab_idx].sh_addr); in e64_relocate()
635 str_tab_size = shdr[str_tab_idx].sh_size; in e64_relocate()