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

123

/freebsd-11.0-release/contrib/elftoolchain/strings/
H A Dstrings.c278 if (elfhdr.e_shnum == 0 && elfhdr.e_type == ET_CORE) {
/freebsd-11.0-release/sys/x86/xen/
H A Dpv.c355 for (i = 1; i < ehdr->e_shnum; i++) {
/freebsd-11.0-release/sys/boot/mips/beri/boot2/
H A Dboot2.c369 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
/freebsd-11.0-release/usr.sbin/crunch/crunchide/
H A Dexec_elf32.c245 shnum = xe16toh(ehdr.e_shnum);
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp720 size_t section_header_end = header.e_shoff + header.e_shnum * header.e_shentsize;
1012 addr_t file_size = m_header.e_shoff + m_header.e_shnum * m_header.e_shentsize;
1560 if (header.e_shnum == 0) {
1570 section_headers.resize(header.e_shnum);
1571 if (section_headers.size() != header.e_shnum)
1574 const size_t sh_size = header.e_shnum * header.e_shentsize;
1582 for (idx = 0, offset = 0; idx < header.e_shnum; ++idx)
2963 s->Printf("e_shnum = 0x%4.4x\n", header.e_shnum);
/freebsd-11.0-release/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-11.0-release/contrib/elftoolchain/size/
H A Dsize.c510 if (elfhdr->e_shnum != 0 || elfhdr->e_type != ET_CORE)
620 if (elfhdr.e_shnum == 0 && elfhdr.e_type == ET_CORE) {
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_module.c119 sym->st_shndx < ehdr.e_shnum)
168 sym->st_shndx < ehdr.e_shnum)
1215 malloc(ehdr.e_shnum * sizeof(*dmp->dm_sec_offsets));
H A Ddt_link.c572 elf_file.ehdr.e_shnum = nshdr;
718 elf_file.ehdr.e_shnum = nshdr;
/freebsd-11.0-release/contrib/llvm/include/llvm/Object/
H A DELFTypes.h432 Elf_Half e_shnum; // Number of entries in the section header table
/freebsd-11.0-release/sys/dev/ksyms/
H A Dksyms.c274 hdr->kh_ehdr.e_shnum = SHDR_NUM;
/freebsd-11.0-release/sys/boot/i386/boot2/
H A Dboot2.c322 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
/freebsd-11.0-release/sys/boot/i386/gptboot/
H A Dgptboot.c460 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
/freebsd-11.0-release/sys/boot/pc98/boot2/
H A Dboot2.c461 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
/freebsd-11.0-release/contrib/llvm/lib/MC/
H A DELFObjectWriter.cpp353 // e_shnum = # of section header ents
1300 NumSectionsOffset = offsetof(ELF::Elf64_Ehdr, e_shnum);
1307 NumSectionsOffset = offsetof(ELF::Elf32_Ehdr, e_shnum);
/freebsd-11.0-release/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-11.0-release/sys/kern/
H A Dlink_elf.c1018 nbytes = hdr->e_shnum * hdr->e_shentsize;
1044 for (i = 0; i < hdr->e_shnum; i++) {
H A Dimgact_elf.c1650 ehdr->e_shnum = 0;
/freebsd-11.0-release/sys/boot/i386/zfsboot/
H A Dzfsboot.c784 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
/freebsd-11.0-release/usr.bin/gcore/
H A Delfcore.c451 ehdr->e_shnum = 0;
/freebsd-11.0-release/contrib/elftoolchain/common/
H A Delfdefinitions.h2351 Elf32_Half e_shnum; /* Number of SHDR entries. */ member in struct:__anon1008
2370 Elf64_Half e_shnum; /* Number of SHDR entries. */ member in struct:__anon1009
/freebsd-11.0-release/contrib/elftoolchain/elfdump/
H A Delfdump.c1298 PRT(" e_shnum: %5d\n", ed->ehdr.e_shnum);
1320 PRT("\te_shnum: %u\n", ed->ehdr.e_shnum);
/freebsd-11.0-release/sys/boot/fdt/
H A Dfdt_loader_cmd.c151 for (i = 0; i < ehdr->e_shnum; ++i) {
/freebsd-11.0-release/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;
/freebsd-11.0-release/contrib/llvm/tools/llvm-readobj/
H A DELFDumper.cpp1078 W.printNumber("SectionHeaderCount", Header->e_shnum);

Completed in 415 milliseconds

123