Lines Matching refs:str_tab_idx
354 size_t str_tab_idx = 0; in e32_relocate() local
374 str_tab_idx = shdr[sym_tab_idx].sh_link; in e32_relocate()
375 if (str_tab_idx) { in e32_relocate()
376 if (str_tab_idx >= elf->e_shnum) in e32_relocate()
379 str_tab_idx = confine_array_index(str_tab_idx, in e32_relocate()
383 if (ADD_OVERFLOW(shdr[str_tab_idx].sh_addr, in e32_relocate()
384 shdr[str_tab_idx].sh_size, &sh_end)) in e32_relocate()
391 shdr[str_tab_idx].sh_addr); in e32_relocate()
392 str_tab_size = shdr[str_tab_idx].sh_size; in e32_relocate()
594 size_t str_tab_idx = 0; in e64_relocate() local
614 str_tab_idx = shdr[sym_tab_idx].sh_link; in e64_relocate()
615 if (str_tab_idx) { in e64_relocate()
616 if (str_tab_idx >= elf->e_shnum) in e64_relocate()
619 str_tab_idx = confine_array_index(str_tab_idx, in e64_relocate()
623 if (ADD_OVERFLOW(shdr[str_tab_idx].sh_addr, in e64_relocate()
624 shdr[str_tab_idx].sh_size, &sh_end)) in e64_relocate()
631 shdr[str_tab_idx].sh_addr); in e64_relocate()
632 str_tab_size = shdr[str_tab_idx].sh_size; in e64_relocate()