/freebsd-13-stable/contrib/elftoolchain/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 | 70 ((Elf32_Ehdr *) eh)->e_shnum = shnum & 0xFFFFU; 72 ((Elf64_Ehdr *) eh)->e_shnum = shnum & 0xFFFFU;
|
H A D | libelf_ehdr.c | 180 shnum = ((Elf32_Ehdr *) ehdr)->e_shnum; 185 shnum = ((Elf64_Ehdr *) ehdr)->e_shnum;
|
/freebsd-13-stable/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 | 105 Elf32_Half e_shnum; member in struct:__anon753 122 Elf64_Half e_shnum; member in struct:__anon754
|
/freebsd-13-stable/sys/mips/mips/ |
H A D | elf_trampoline.c | 134 sizeof(*shdr) * eh->e_shnum); 136 if (eh->e_shnum * eh->e_shentsize != 0 && eh->e_shoff != 0) { 137 for (i = 0; i < eh->e_shnum; i++) {
|
/freebsd-13-stable/stand/common/ |
H A D | load_elf_obj.c | 148 if (hdr->e_shnum * hdr->e_shentsize == 0 || hdr->e_shoff == 0 || 242 shdrbytes = hdr->e_shnum * hdr->e_shentsize; 256 for (i = 0; i < hdr->e_shnum; i++) 258 for (i = 0; i < hdr->e_shnum; i++) { 280 for (i = 0; i < hdr->e_shnum; i++) { 300 if (symstrindex < 0 || symstrindex >= hdr->e_shnum || 311 if (hdr->e_shstrndx == 0 || hdr->e_shstrndx >= hdr->e_shnum || 323 for (i = 0; i < hdr->e_shnum; i++) { 349 for (i = 0; i < hdr->e_shnum; i++) { 485 for (i = 0; i < hdr->e_shnum; [all...] |
H A D | load_elf.c | 158 CONVERT_FIELD(b, e_shnum, e); \ 647 chunk = (size_t)ehdr->e_shnum * (size_t)ehdr->e_shentsize; 657 for (i = 0; i < ehdr->e_shnum; i++) 672 for (i = 0; i < ehdr->e_shnum; i++) { 693 for (i = 0; i < ehdr->e_shnum; i++) { 988 size = (size_t)ef.ehdr->e_shnum * (size_t)ef.ehdr->e_shentsize; 1007 for (i = 0, j = 0; i < ef.ehdr->e_shnum; i++) {
|
/freebsd-13-stable/usr.bin/gprof/ |
H A D | elf.c | 92 for (i = 1; i < h.e_shnum; i++) 95 if (i == h.e_shnum)
|
/freebsd-13-stable/lib/libc/gen/ |
H A D | nlist.c | 150 shdr_size = ehdr.e_shentsize * ehdr.e_shnum; 171 for (i = 0; i < ehdr.e_shnum; i++) { 243 ehdr.e_shnum);
|
/freebsd-13-stable/sys/kern/ |
H A D | kern_ctf.c | 125 nbytes = hdr->e_shnum * hdr->e_shentsize; 164 for (i = 0; i < hdr->e_shnum; i++) 169 if (i >= hdr->e_shnum) {
|
H A D | link_elf_obj.c | 382 for (i = 0; i < hdr->e_shnum; i++) { 419 symstrindex >= hdr->e_shnum || 421 shstrindex >= hdr->e_shnum || 447 for (i = 0; i < hdr->e_shnum; i++) { 451 for (i = 0; i < hdr->e_shnum; i++) { 468 for (i = 0; i < hdr->e_shnum; i++) { 760 nbytes = hdr->e_shnum * hdr->e_shentsize; 782 for (i = 0; i < hdr->e_shnum; i++) { 832 if (symstrindex < 0 || symstrindex > hdr->e_shnum || 905 for (i = 0; i < hdr->e_shnum; [all...] |
/freebsd-13-stable/sys/compat/linux/ |
H A D | linux_vdso.c | 130 for (i = 0; i < ehdr->e_shnum; i++) { 201 for(i = 0; i < ehdr->e_shnum; i++) {
|
/freebsd-13-stable/usr.sbin/kldxref/ |
H A D | ef_obj.c | 402 nbytes = hdr->e_shnum * hdr->e_shentsize; 417 for (i = 0; i < hdr->e_shnum; i++) { 447 if (symstrindex < 0 || symstrindex > hdr->e_shnum || 499 for (i = 0; i < hdr->e_shnum; i++) { 529 for (i = 0; i < hdr->e_shnum; i++) {
|
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 156 dst->e_shnum = src->e_shnum; 302 shnum = hdr.e64.e_shnum;
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.h | 76 elf_word e_shnum; ///< Number of section header entries. member in struct:elf::ELFHeader
|
H A D | ELFHeader.cpp | 108 e_shnum = section_zero.sh_size; 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 147 e_shnum = e_shnum_hdr;
|
/freebsd-13-stable/sys/sys/ |
H A D | elf32.h | 70 Elf32_Half e_shnum; /* Number of section header entries. */ member in struct:__anon15799
|
H A D | elf64.h | 79 Elf64_Half e_shnum; /* Number of section header entries. */ member in struct:__anon15817
|
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 502 secxlate = xmalloc(sizeof (int) * sehdr.e_shnum); 503 for (srcidx = dstidx = 0; srcidx < sehdr.e_shnum; srcidx++) { 538 for (srcidx = 1; srcidx < sehdr.e_shnum; srcidx++) {
|
/freebsd-13-stable/contrib/elftoolchain/strings/ |
H A D | strings.c | 292 if (elfhdr.e_shnum == 0 && elfhdr.e_type == ET_CORE) {
|
/freebsd-13-stable/usr.bin/gcore/ |
H A D | elfcore.c | 488 ehdr->e_shnum = 0; 491 ehdr->e_shnum = 1; 509 shdr->sh_size = ehdr->e_shnum;
|
/freebsd-13-stable/stand/i386/isoboot/ |
H A D | isoboot.c | 398 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
|
/freebsd-13-stable/stand/mips/beri/boot2/ |
H A D | boot2.c | 361 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
|
/freebsd-13-stable/usr.sbin/crunch/crunchide/ |
H A D | exec_elf32.c | 248 shnum = xe16toh(ehdr.e_shnum);
|