/freebsd-11-stable/sys/kern/ |
H A D | kern_ctf.c | 158 if (hdr->e_shstrndx == 0 || shdr[hdr->e_shstrndx].sh_type != SHT_STRTAB) { 159 printf("%s(%d): module %s e_shstrndx is %d, sh_type is %d\n", 160 __func__, __LINE__, lf->pathname, hdr->e_shstrndx, 161 shdr[hdr->e_shstrndx].sh_type); 167 shstrtab = malloc(shdr[hdr->e_shstrndx].sh_size, M_LINKER, M_WAITOK); 171 shdr[hdr->e_shstrndx].sh_size, shdr[hdr->e_shstrndx].sh_offset,
|
/freebsd-11-stable/contrib/elftoolchain/libelf/ |
H A D | gelf_ehdr.c | 81 d->e_shstrndx = eh32->e_shstrndx; 164 eh32->e_shstrndx = s->e_shstrndx;
|
H A D | libelf_extended.c | 100 ((Elf32_Ehdr *) eh)->e_shstrndx = shstrndx & 0xFFFFU; 102 ((Elf64_Ehdr *) eh)->e_shstrndx = shstrndx & 0xFFFFU;
|
H A D | libelf_ehdr.c | 182 strndx = ((Elf32_Ehdr *) ehdr)->e_shstrndx; 187 strndx = ((Elf64_Ehdr *) ehdr)->e_shstrndx;
|
/freebsd-11-stable/contrib/binutils/include/elf/ |
H A D | external.h | 54 unsigned char e_shstrndx[2]; /* Section header string table index */ member in struct:__anon501 71 unsigned char e_shstrndx[2]; /* Section header string table index */ member in struct:__anon502
|
H A D | internal.h | 58 unsigned int e_shstrndx; /* Section header string table index */ member in struct:elf_internal_ehdr
|
/freebsd-11-stable/contrib/file/src/ |
H A D | elfclass.h | 72 CAST(int, elf_getu16(swap, elfhdr.e_shstrndx)),
|
H A D | readelf.h | 106 Elf32_Half e_shstrndx; member in struct:__anon34 123 Elf64_Half e_shstrndx; member in struct:__anon35
|
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | elfcode.h | 251 dst->e_shstrndx = H_GET_16 (abfd, src->e_shstrndx); 284 tmp = src->e_shstrndx; 287 H_PUT_16 (abfd, tmp, dst->e_shstrndx); 703 if (i_ehdrp->e_shstrndx == SHN_XINDEX) 705 i_ehdrp->e_shstrndx = i_shdr.sh_link; 706 if (i_ehdrp->e_shstrndx != i_shdr.sh_link) 803 if (! valid_section_index_p (i_ehdrp->e_shstrndx, elf_numsections (abfd))) 811 i_ehdrp->e_shstrndx = SHN_UNDEF; 815 else if (i_ehdrp->e_shstrndx ! [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 509 sname = elf_strptr(src, sehdr.e_shstrndx, shdr1.sh_name); 571 sname = elf_strptr(src, sehdr.e_shstrndx, shdr.sh_name); 602 if (srcidx == sehdr.e_shstrndx) { 704 dehdr.e_shstrndx = secxlate[sehdr.e_shstrndx];
|
H A D | util.c | 82 if ((name = elf_strptr(elf, ehdr.e_shstrndx,
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 156 dst->e_shstrndx = src->e_shstrndx; 302 shstrndx = hdr.e64.e_shstrndx;
|
/freebsd-11-stable/sys/sys/ |
H A D | elf64.h | 78 Elf64_Half e_shstrndx; /* Section name strings section. */ member in struct:__anon8483
|
H A D | elf32.h | 69 Elf32_Half e_shstrndx; /* Section name strings section. */ member in struct:__anon8465
|
/freebsd-11-stable/stand/common/ |
H A D | load_elf_obj.c | 269 if (hdr->e_shstrndx == 0 || hdr->e_shstrndx >= hdr->e_shnum || 270 shdr[hdr->e_shstrndx].sh_type != SHT_STRTAB) { 275 ef->shstrindex = hdr->e_shstrndx;
|
H A D | load_elf.c | 147 CONVERT_FIELD(b, e_shstrndx, e) 617 chunk = shdr[ehdr->e_shstrndx].sh_size; 619 shstr = alloc_pread(ef->fd, shdr[ehdr->e_shstrndx].sh_offset, 934 shstrtab = alloc_pread(ef.fd, shdr[ef.ehdr->e_shstrndx].sh_offset, 935 shdr[ef.ehdr->e_shstrndx].sh_size);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.h | 77 elf_word e_shstrndx; ///< String table section index. member in struct:elf::ELFHeader
|
H A D | ELFHeader.cpp | 110 e_shstrndx = section_zero.sh_link; 140 // Read e_ehsize, e_phentsize, e_phnum, e_shentsize, e_shnum and e_shstrndx. 144 // Initialize e_phnum, e_shnum, and e_shstrndx with the values read from the 148 e_shstrndx = e_shstrndx_hdr;
|
/freebsd-11-stable/usr.sbin/kldxref/ |
H A D | ef_obj.c | 480 if (hdr->e_shstrndx != 0 && 481 shdr[hdr->e_shstrndx].sh_type == SHT_STRTAB) { 482 shstrindex = hdr->e_shstrndx;
|
/freebsd-11-stable/stand/i386/isoboot/ |
H A D | isoboot.c | 398 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) { 400 (hdr.eh.e_shstrndx + 1);
|
/freebsd-11-stable/stand/mips/beri/boot2/ |
H A D | boot2.c | 361 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) { 363 (hdr.eh.e_shstrndx + 1);
|
/freebsd-11-stable/stand/pc98/boot2/ |
H A D | boot2.c | 464 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) { 466 (hdr.eh.e_shstrndx + 1);
|
/freebsd-11-stable/stand/i386/boot2/ |
H A D | boot2.c | 329 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) { 331 (hdr.eh.e_shstrndx + 1);
|
/freebsd-11-stable/stand/i386/gptboot/ |
H A D | gptboot.c | 459 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) { 461 (hdr.eh.e_shstrndx + 1);
|
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | readelf.c | 3240 (long) elf_header.e_shstrndx); 3241 if (section_headers != NULL && elf_header.e_shstrndx == SHN_XINDEX) 3243 else if (elf_header.e_shstrndx != SHN_UNDEF 3244 && (elf_header.e_shstrndx >= elf_header.e_shnum 3245 || (elf_header.e_shstrndx >= SHN_LORESERVE 3246 && elf_header.e_shstrndx <= SHN_HIRESERVE))) 3255 if (elf_header.e_shstrndx == SHN_XINDEX) 3256 elf_header.e_shstrndx = section_headers[0].sh_link; 3257 else if (elf_header.e_shstrndx != SHN_UNDEF 3258 && (elf_header.e_shstrndx > [all...] |