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

12

/freebsd-10-stable/sys/boot/common/
H A Dload_elf.c451 chunk = ehdr->e_shnum * ehdr->e_shentsize;
464 for (i = 0; i < ehdr->e_shnum; i++) {
715 size = ef.ehdr->e_shnum * ef.ehdr->e_shentsize;
734 for (i = 0, j = 0; i < ef.ehdr->e_shnum; i++) {
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp380 size_t section_header_end = header.e_shoff + header.e_shnum * header.e_shentsize;
809 if (header.e_shnum == 0)
812 section_headers.resize(header.e_shnum);
813 if (section_headers.size() != header.e_shnum)
816 const size_t sh_size = header.e_shnum * header.e_shentsize;
824 for (idx = 0, offset = 0; idx < header.e_shnum; ++idx)
1713 s->Printf("e_shnum = 0x%4.4x\n", header.e_shnum);
/freebsd-10-stable/contrib/llvm/include/llvm/Object/
H A DELF.h586 if (Header->e_shnum == ELF::SHN_UNDEF) {
590 return Header->e_shnum;
595 if (Header->e_shnum == ELF::SHN_UNDEF) {
H A DELFTypes.h422 Elf_Half e_shnum; // Number of entries in the section header table member in struct:llvm::object::Elf_Ehdr_Impl
/freebsd-10-stable/sys/boot/i386/gptboot/
H A Dgptboot.c311 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
/freebsd-10-stable/usr.sbin/crunch/crunchide/
H A Dexec_elf32.c246 shnum = xe16toh(ehdr.e_shnum);
/freebsd-10-stable/lib/libelf/
H A Delf_update.c739 shnum = eh32->e_shnum;
745 shnum = eh64->e_shnum;
/freebsd-10-stable/sys/contrib/ia64/libuwx/src/
H A Duwx_symbols.c592 ef->shnum = header.hdr32.e_shnum;
610 ef->shnum = header.hdr64.e_shnum;
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_module.c118 sym->st_shndx < ehdr.e_shnum)
167 sym->st_shndx < ehdr.e_shnum)
1192 malloc(ehdr.e_shnum * sizeof(*dmp->dm_sec_offsets));
H A Ddt_link.c554 elf_file.ehdr.e_shnum = nshdr;
702 elf_file.ehdr.e_shnum = nshdr;
/freebsd-10-stable/sys/boot/pc98/boot2/
H A Dboot2.c459 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
/freebsd-10-stable/sys/boot/i386/boot2/
H A Dboot2.c320 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
/freebsd-10-stable/sys/dev/ksyms/
H A Dksyms.c271 hdr->kh_ehdr.e_shnum = SHDR_NUM;
/freebsd-10-stable/contrib/llvm/include/llvm/Support/
H A DELF.h76 Elf32_Half e_shnum; // Number of entries in the section header table member in struct:llvm::ELF::Elf32_Ehdr
100 Elf64_Half e_shnum; member in struct:llvm::ELF::Elf64_Ehdr
/freebsd-10-stable/usr.bin/elfdump/
H A Delfdump.c103 offsetof(Elf32_Ehdr, e_shentsize), offsetof(Elf32_Ehdr, e_shnum),
144 offsetof(Elf64_Ehdr, e_shentsize), offsetof(Elf64_Ehdr, e_shnum),
/freebsd-10-stable/sys/kern/
H A Dlink_elf.c974 nbytes = hdr->e_shnum * hdr->e_shentsize;
986 for (i = 0; i < hdr->e_shnum; i++) {
H A Dimgact_elf.c1636 ehdr->e_shnum = 0;
/freebsd-10-stable/contrib/llvm/tools/llvm-readobj/
H A DELFDumper.cpp468 W.printNumber("SectionHeaderCount", Header->e_shnum);
/freebsd-10-stable/sys/boot/fdt/
H A Dfdt_loader_cmd.c150 for (i = 0; i < ehdr->e_shnum; ++i) {
/freebsd-10-stable/sys/boot/i386/zfsboot/
H A Dzfsboot.c791 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
/freebsd-10-stable/usr.bin/gcore/
H A Delfcore.c452 ehdr->e_shnum = 0;
/freebsd-10-stable/contrib/binutils/bfd/
H A Delf.c3143 elf_elfheader (abfd)->e_shnum = section_number;
3145 elf_elfheader (abfd)->e_shnum -= SHN_HIRESERVE + 1 - SHN_LORESERVE;
4963 off += i_ehdrp->e_shnum * i_ehdrp->e_shentsize;

Completed in 179 milliseconds

12