Searched refs:e_shnum (Results 1 - 25 of 47) sorted by relevance

12

/freebsd-10-stable/lib/libelf/
H A Dgelf_ehdr.c80 d->e_shnum = eh32->e_shnum;
163 eh32->e_shnum = s->e_shnum;
H A Dlibelf_extended.c71 ((Elf32_Ehdr *) eh)->e_shnum = shnum;
73 ((Elf64_Ehdr *) eh)->e_shnum = shnum;
H A Dlibelf_ehdr.c180 shnum = ((Elf32_Ehdr *) ehdr)->e_shnum;
185 shnum = ((Elf64_Ehdr *) ehdr)->e_shnum;
H A Delf_types.m4120 `e_shnum, HALF',
137 `e_shnum, HALF',
/freebsd-10-stable/contrib/binutils/include/elf/
H A Dexternal.h53 unsigned char e_shnum[2]; /* Section header table entry count */ member in struct:__anon509
70 unsigned char e_shnum[2]; /* Section header table entry count */ member in struct:__anon510
H A Dinternal.h57 unsigned int e_shnum; /* Section header table entry count */ member in struct:elf_internal_ehdr
/freebsd-10-stable/contrib/file/src/
H A Delfclass.h55 shnum = elf_getu16(swap, elfhdr.e_shnum);
65 shnum = elf_getu16(swap, elfhdr.e_shnum);
H A Dreadelf.h105 Elf32_Half e_shnum; member in struct:__anon136
122 Elf64_Half e_shnum; member in struct:__anon137
/freebsd-10-stable/sys/mips/mips/
H A Delf_trampoline.c133 sizeof(*shdr) * eh->e_shnum);
135 if (eh->e_shnum * eh->e_shentsize != 0 && eh->e_shoff != 0) {
136 for (i = 0; i < eh->e_shnum; i++) {
/freebsd-10-stable/sys/boot/common/
H A Dload_elf_obj.c126 if (hdr->e_shnum * hdr->e_shentsize == 0 || hdr->e_shoff == 0 ||
202 shdrbytes = hdr->e_shnum * hdr->e_shentsize;
216 for (i = 0; i < hdr->e_shnum; i++)
218 for (i = 0; i < hdr->e_shnum; i++) {
236 for (i = 0; i < hdr->e_shnum; i++) {
256 if (symstrindex < 0 || symstrindex >= hdr->e_shnum ||
267 if (hdr->e_shstrndx == 0 || hdr->e_shstrndx >= hdr->e_shnum ||
279 for (i = 0; i < hdr->e_shnum; i++) {
303 for (i = 0; i < hdr->e_shnum; i++) {
439 for (i = 0; i < hdr->e_shnum;
[all...]
/freebsd-10-stable/usr.bin/gprof/
H A Delf.c90 for (i = 1; i < h.e_shnum; i++)
93 if (i == h.e_shnum)
/freebsd-10-stable/contrib/binutils/bfd/
H A Delfcode.h250 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-10-stable/sys/kern/
H A Dkern_ctf.c137 nbytes = hdr->e_shnum * hdr->e_shentsize;
176 for (i = 0; i < hdr->e_shnum; i++)
181 if (i >= hdr->e_shnum) {
H A Dlink_elf_obj.c256 for (i = 0; i < hdr->e_shnum; i++) {
280 symstrindex >= hdr->e_shnum ||
282 shstrindex >= hdr->e_shnum ||
308 for (i = 0; i < hdr->e_shnum; i++) {
312 for (i = 0; i < hdr->e_shnum; i++) {
329 for (i = 0; i < hdr->e_shnum; i++) {
550 nbytes = hdr->e_shnum * hdr->e_shentsize;
571 for (i = 0; i < hdr->e_shnum; i++) {
608 if (symstrindex < 0 || symstrindex > hdr->e_shnum ||
686 for (i = 0; i < hdr->e_shnum;
[all...]
/freebsd-10-stable/contrib/binutils/binutils/
H A Dreadelf.c585 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-10-stable/lib/libc/gen/
H A Dnlist.c262 shdr_size = ehdr.e_shentsize * ehdr.e_shnum;
283 for (i = 0; i < ehdr.e_shnum; i++) {
355 ehdr.e_shnum);
/freebsd-10-stable/sys/compat/linux/
H A Dlinux_vdso.c126 for (i = 0; i < ehdr->e_shnum; i++) {
197 for(i = 0; i < ehdr->e_shnum; i++) {
/freebsd-10-stable/usr.sbin/kldxref/
H A Def_obj.c374 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-10-stable/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c155 dst->e_shnum = src->e_shnum;
301 shnum = hdr.e64.e_shnum;
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h73 elf_half e_shnum; ///< Number of section header entries. member in struct:elf::ELFHeader
/freebsd-10-stable/sys/sys/
H A Delf64.h77 Elf64_Half e_shnum; /* Number of section header entries. */ member in struct:__anon29
H A Delf32.h68 Elf32_Half e_shnum; /* Number of section header entries. */ member in struct:__anon12
/freebsd-10-stable/sys/xen/interface/
H A Delfstructs.h123 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:__anon11684
/freebsd-10-stable/sys/arm/arm/
H A Delf_trampoline.c513 sizeof(*shdr) * eh->e_shnum);
514 if (eh->e_shnum * eh->e_shentsize != 0 &&
516 for (i = 0; i < eh->e_shnum; i++) {
/freebsd-10-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c504 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++) {

Completed in 155 milliseconds

12