Searched refs:e_shstrndx (Results 1 - 25 of 55) sorted by relevance

123

/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dgetshstrndx.c53 if (ehdr.e_shstrndx != SHN_XINDEX) {
54 *shstrndx = ehdr.e_shstrndx;
H A Dgelf.c115 dst->e_shstrndx = e->e_shstrndx;
177 d->e_shstrndx = src->e_shstrndx;
/illumos-gate/usr/src/cmd/mdb/tools/common/
H A Dfindscn.c49 (name = elf_strptr(elf, ehdr.e_shstrndx,
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Delf.h179 Elf32_Half e_shstrndx; /* Section name strings section. */ member in struct:__anon2085
196 Elf64_Half e_shstrndx; /* Section name strings section. */ member in struct:__anon2086
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Delf.c76 * The e_shnum, e_shstrndx and e_phnum entries may have a different
79 if (ehdr->e_shstrndx == SHN_XINDEX) {
85 ehdr->e_ehsize, ehdr->e_shstrndx);
/illumos-gate/usr/src/cmd/sgs/libelf/demo/
H A Ddcom.c268 tehdr.e_shstrndx = shndx[shstrndx];
289 tehdr.e_shstrndx = SHN_XINDEX;
/illumos-gate/usr/src/tools/ctf/cvt/
H A Doutput.c500 sname = elf_strptr(src, sehdr.e_shstrndx, shdr.sh_name);
556 sname = elf_strptr(src, sehdr.e_shstrndx, shdr.sh_name);
567 if (srcidx == sehdr.e_shstrndx) {
660 dehdr.e_shstrndx = secxlate[sehdr.e_shstrndx];
H A Dutil.c82 if ((name = elf_strptr(elf, ehdr.e_shstrndx,
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_lib.c133 dst->e_shstrndx = src->e_shstrndx;
279 shstrndx = hdr.e64.e_shstrndx;
/illumos-gate/usr/src/lib/libsaveargs/tests/dump/
H A Ddump.c80 ehdr.e_shstrndx, (size_t)textshdr.sh_name)) == 0) {
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h90 Elf32_Half e_shstrndx; /* section header table index */ member in struct:__anon2184
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A DsymintOpen.c181 tscn_p = elf_getscn(telf_p, k = pfile_p->pf_elfhd_p->e_shstrndx);
/illumos-gate/usr/src/boot/sys/sys/
H A Delf32.h69 Elf32_Half e_shstrndx; /* Section name strings section. */ member in struct:__anon407
H A Delf64.h78 Elf64_Half e_shstrndx; /* Section name strings section. */ member in struct:__anon424
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dload_elf_obj.c264 if (hdr->e_shstrndx == 0 || hdr->e_shstrndx >= hdr->e_shnum ||
265 shdr[hdr->e_shstrndx].sh_type != SHT_STRTAB) {
270 ef->shstrindex = hdr->e_shstrndx;
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dehdr.c69 EHDR_CMD_T_E_SHSTRNDX = 14, /* ehdr:e_shstrndx */
545 Word num = ehdr->e_shstrndx;
1115 Half e_shstrndx; local
1145 e_shstrndx = SHN_XINDEX;
1148 e_shstrndx = shstrndx;
1152 if (ehdr->e_shstrndx == e_shstrndx) {
1155 EC_WORD(ehdr->e_shstrndx));
1159 EC_WORD(ehdr->e_shstrndx), e_shstrndx);
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Delf.h83 Elf32_Half e_shstrndx; /* shdr string index */ member in struct:__anon252
101 Elf64_Half e_shstrndx; /* shdr string index */ member in struct:__anon253
/illumos-gate/usr/src/lib/libproc/common/
H A DPcore.c1661 efp->e_hdr.e_shstrndx = (Elf64_Word)e64.e_shstrndx;
1681 efp->e_hdr.e_shstrndx = (Elf64_Word)e32.e_shstrndx;
1692 efp->e_hdr.e_shstrndx == SHN_XINDEX ||
1730 if (efp->e_hdr.e_shstrndx == SHN_XINDEX) {
1731 efp->e_hdr.e_shstrndx = shdr.sh_link;
2126 if (efp->e_hdr.e_shstrndx >= efp->e_hdr.e_shnum) {
2128 efp->e_hdr.e_shstrndx, efp->e_hdr.e_shnum);
2173 shp = &shdrs[efp->e_hdr.e_shstrndx];
[all...]
H A DPcontrol.h189 Elf64_Word e_shstrndx; /* shdr string index extended to 32 bits */ member in struct:elf_file_header
/illumos-gate/usr/src/lib/libtnfctl/
H A Dtraverse.c93 strs = elf_strptr(elf, ehdr->e_shstrndx, NULL);
/illumos-gate/usr/src/uts/common/os/
H A Dksyms_snapshot.c155 hdr.elf_hdr.e_shstrndx = KSHDR_SHSTRTAB;
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c646 * need to deal with e_shstrndx ourselves.
648 oehdr->e_shstrndx = SHN_XINDEX;
659 oehdr->e_shstrndx = (Half)elf_ndxscn(scn);
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_elf_access.c268 ret_scn->name = elf_strptr(obj->elf, obj->ehdr64->e_shstrndx,
289 ret_scn->name = elf_strptr(obj->elf, obj->ehdr32->e_shstrndx,
/illumos-gate/usr/src/boot/sys/boot/i386/gptzfsboot/
H A Dzfsboot.c475 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
476 lseek(fd, hdr.eh.e_shoff + sizeof(es[0]) * (hdr.eh.e_shstrndx + 1),
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dmod.c147 ehdr.e_shstrndx, (size_t)shdr.sh_name);

Completed in 1401 milliseconds

123