/freebsd-9.3-release/lib/libelf/ |
H A D | gelf_ehdr.c | 80 d->e_shnum = eh32->e_shnum; 163 eh32->e_shnum = s->e_shnum;
|
H A D | libelf_extended.c | 71 ((Elf32_Ehdr *) eh)->e_shnum = shnum; 73 ((Elf64_Ehdr *) eh)->e_shnum = shnum;
|
H A D | libelf_ehdr.c | 180 shnum = ((Elf32_Ehdr *) ehdr)->e_shnum; 185 shnum = ((Elf64_Ehdr *) ehdr)->e_shnum;
|
H A D | elf_types.m4 | 120 `e_shnum, HALF', 137 `e_shnum, HALF',
|
/freebsd-9.3-release/contrib/binutils/include/elf/ |
H A D | external.h | 53 unsigned char e_shnum[2]; /* Section header table entry count */ member in struct:__anon631 70 unsigned char e_shnum[2]; /* Section header table entry count */ member in struct:__anon632
|
H A D | internal.h | 57 unsigned int e_shnum; /* Section header table entry count */ member in struct:elf_internal_ehdr
|
/freebsd-9.3-release/contrib/file/src/ |
H A D | elfclass.h | 55 shnum = elf_getu16(swap, elfhdr.e_shnum); 65 shnum = elf_getu16(swap, elfhdr.e_shnum);
|
H A D | readelf.h | 69 Elf32_Half e_shnum; member in struct:__anon32 86 Elf64_Half e_shnum; member in struct:__anon33
|
/freebsd-9.3-release/sys/boot/common/ |
H A D | load_elf_obj.c | 126 if (hdr->e_shnum * hdr->e_shentsize == 0 || hdr->e_shoff == 0 || 209 shdrbytes = hdr->e_shnum * hdr->e_shentsize; 223 for (i = 0; i < hdr->e_shnum; i++) 225 for (i = 0; i < hdr->e_shnum; i++) { 240 for (i = 0; i < hdr->e_shnum; i++) { 260 if (symstrindex < 0 || symstrindex >= hdr->e_shnum || 271 if (hdr->e_shstrndx == 0 || hdr->e_shstrndx >= hdr->e_shnum || 283 for (i = 0; i < hdr->e_shnum; i++) { 307 for (i = 0; i < hdr->e_shnum; i++) { 442 for (i = 0; i < hdr->e_shnum; [all...] |
/freebsd-9.3-release/sys/mips/mips/ |
H A D | elf_trampoline.c | 132 sizeof(*shdr) * eh->e_shnum); 134 if (eh->e_shnum * eh->e_shentsize != 0 && eh->e_shoff != 0) { 135 for (i = 0; i < eh->e_shnum; i++) {
|
/freebsd-9.3-release/usr.bin/gprof/ |
H A D | elf.c | 90 for (i = 1; i < h.e_shnum; i++) 93 if (i == h.e_shnum)
|
/freebsd-9.3-release/contrib/binutils/bfd/ |
H A D | elfcode.h | 250 dst->e_shnum = H_GET_16 (abfd, src->e_shnum); 280 tmp = src->e_shnum; 283 H_PUT_16 (abfd, tmp, dst->e_shnum); 579 if (i_ehdrp->e_shentsize != sizeof (x_shdr) && i_ehdrp->e_shnum != 0) 583 if (i_ehdrp->e_shoff == 0 && i_ehdrp->e_shnum != 0) 694 if (i_ehdrp->e_shnum == SHN_UNDEF) 696 i_ehdrp->e_shnum = i_shdr.sh_size; 697 if (i_ehdrp->e_shnum != i_shdr.sh_size 698 || i_ehdrp->e_shnum [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 155 dst->e_shnum = src->e_shnum; 301 if (hdr.e64.e_shstrndx >= hdr.e64.e_shnum) 304 n = hdr.e64.e_shnum; 361 if (shp->sh_link >= hdr.e64.e_shnum)
|
/freebsd-9.3-release/contrib/binutils/binutils/ |
H A D | readelf.c | 585 for (i = 0; i < elf_header.e_shnum; i++) 3235 (long) elf_header.e_shnum); 3236 if (section_headers != NULL && elf_header.e_shnum == 0) 3244 && (elf_header.e_shstrndx >= elf_header.e_shnum 3253 if (elf_header.e_shnum == 0) 3254 elf_header.e_shnum = section_headers[0].sh_size; 3258 && (elf_header.e_shstrndx >= elf_header.e_shnum 3585 for (j = 1; j < elf_header.e_shnum; j++, section++) 4020 if (elf_header.e_shnum == 0) 4030 elf_header.e_shnum, (unsigne [all...] |
/freebsd-9.3-release/lib/libc/gen/ |
H A D | nlist.c | 262 shdr_size = ehdr.e_shentsize * ehdr.e_shnum; 283 for (i = 0; i < ehdr.e_shnum; i++) { 355 ehdr.e_shnum);
|
/freebsd-9.3-release/sys/kern/ |
H A D | kern_ctf.c | 143 nbytes = hdr->e_shnum * hdr->e_shentsize; 190 for (i = 0; i < hdr->e_shnum; i++) 195 if (i >= hdr->e_shnum) {
|
H A D | link_elf_obj.c | 254 for (i = 0; i < hdr->e_shnum; i++) { 275 symstrindex >= hdr->e_shnum || 277 shstrindex >= hdr->e_shnum || 303 for (i = 0; i < hdr->e_shnum; i++) { 307 for (i = 0; i < hdr->e_shnum; i++) { 324 for (i = 0; i < hdr->e_shnum; i++) { 529 nbytes = hdr->e_shnum * hdr->e_shentsize; 550 for (i = 0; i < hdr->e_shnum; i++) { 584 if (symstrindex < 0 || symstrindex > hdr->e_shnum || 656 for (i = 0; i < hdr->e_shnum; [all...] |
/freebsd-9.3-release/usr.sbin/kldxref/ |
H A D | ef_obj.c | 374 nbytes = hdr->e_shnum * hdr->e_shentsize; 389 for (i = 0; i < hdr->e_shnum; i++) { 419 if (symstrindex < 0 || symstrindex > hdr->e_shnum || 471 for (i = 0; i < hdr->e_shnum; i++) { 501 for (i = 0; i < hdr->e_shnum; i++) {
|
/freebsd-9.3-release/sys/arm/arm/ |
H A D | elf_trampoline.c | 430 sizeof(*shdr) * eh->e_shnum); 431 if (eh->e_shnum * eh->e_shentsize != 0 && 433 for (i = 0; i < eh->e_shnum; i++) {
|
/freebsd-9.3-release/sys/sys/ |
H A D | elf32.h | 68 Elf32_Half e_shnum; /* Number of section header entries. */ member in struct:__anon10412
|
H A D | elf64.h | 77 Elf64_Half e_shnum; /* Number of section header entries. */ member in struct:__anon10428
|
/freebsd-9.3-release/sys/xen/interface/ |
H A D | elfstructs.h | 123 Elf32_Half e_shnum; /* number of section header entries */ member in struct:elfhdr 141 Elf64_Quarter e_shnum; /* Number of section headers */ member in struct:__anon10570
|
/freebsd-9.3-release/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 504 secxlate = xmalloc(sizeof (int) * sehdr.e_shnum); 505 for (srcidx = dstidx = 0; srcidx < sehdr.e_shnum; srcidx++) { 540 for (srcidx = 1; srcidx < sehdr.e_shnum; srcidx++) {
|
/freebsd-9.3-release/contrib/llvm/include/llvm/Object/ |
H A D | ELF.h | 586 if (Header->e_shnum == ELF::SHN_UNDEF) { 590 return Header->e_shnum; 595 if (Header->e_shnum == ELF::SHN_UNDEF) {
|
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_link.c | 545 elf_file.ehdr.e_shnum = nshdr; 693 elf_file.ehdr.e_shnum = nshdr; 1880 off = ehdr.e_shoff + ehdr.e_shnum * ehdr.e_shentsize; 1884 rc += ehdr.e_shnum * ehdr.e_shentsize;
|