Lines Matching refs:shstrndx
441 * Helpers for ELF files with shnum or shstrndx values that don't fit in the
459 uint64_t shstrndx;
461 shstrndx = elf_get_quarter(e, e, E_SHSTRNDX);
462 if (shstrndx == SHN_XINDEX)
463 shstrndx = elf_get_word(e, (char *)sh, SH_LINK);
464 return shstrndx;
476 u_int64_t shstrndx;
556 shstrndx = elf_get_shstrndx(e, sh);
557 offset = elf_get_off(e, (char *)sh + shstrndx * shentsize,
563 shstrndx = 0;
666 u_int64_t shstrndx;
699 shstrndx = elf_get_shstrndx(e, sh);
701 fprintf(out, "\te_shstrndx: %jd\n", (intmax_t)shstrndx);