/freebsd-11.0-release/contrib/elftoolchain/strings/ |
H A D | strings.c | 278 if (elfhdr.e_shnum == 0 && elfhdr.e_type == ET_CORE) {
|
/freebsd-11.0-release/sys/x86/xen/ |
H A D | pv.c | 355 for (i = 1; i < ehdr->e_shnum; i++) {
|
/freebsd-11.0-release/sys/boot/mips/beri/boot2/ |
H A D | boot2.c | 369 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
|
/freebsd-11.0-release/usr.sbin/crunch/crunchide/ |
H A D | exec_elf32.c | 245 shnum = xe16toh(ehdr.e_shnum);
|
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ObjectFileELF.cpp | 720 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 D | ELF.h | 76 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 D | size.c | 510 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 D | dt_module.c | 119 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 D | dt_link.c | 572 elf_file.ehdr.e_shnum = nshdr; 718 elf_file.ehdr.e_shnum = nshdr;
|
/freebsd-11.0-release/contrib/llvm/include/llvm/Object/ |
H A D | ELFTypes.h | 432 Elf_Half e_shnum; // Number of entries in the section header table
|
/freebsd-11.0-release/sys/dev/ksyms/ |
H A D | ksyms.c | 274 hdr->kh_ehdr.e_shnum = SHDR_NUM;
|
/freebsd-11.0-release/sys/boot/i386/boot2/ |
H A D | boot2.c | 322 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
|
/freebsd-11.0-release/sys/boot/i386/gptboot/ |
H A D | gptboot.c | 460 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
|
/freebsd-11.0-release/sys/boot/pc98/boot2/ |
H A D | boot2.c | 461 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
|
/freebsd-11.0-release/contrib/llvm/lib/MC/ |
H A D | ELFObjectWriter.cpp | 353 // 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 D | elfdump.c | 103 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 D | link_elf.c | 1018 nbytes = hdr->e_shnum * hdr->e_shentsize; 1044 for (i = 0; i < hdr->e_shnum; i++) {
|
H A D | imgact_elf.c | 1650 ehdr->e_shnum = 0;
|
/freebsd-11.0-release/sys/boot/i386/zfsboot/ |
H A D | zfsboot.c | 784 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
|
/freebsd-11.0-release/usr.bin/gcore/ |
H A D | elfcore.c | 451 ehdr->e_shnum = 0;
|
/freebsd-11.0-release/contrib/elftoolchain/common/ |
H A D | elfdefinitions.h | 2351 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 D | elfdump.c | 1298 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 D | fdt_loader_cmd.c | 151 for (i = 0; i < ehdr->e_shnum; ++i) {
|
/freebsd-11.0-release/contrib/binutils/bfd/ |
H A D | elf.c | 3143 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 D | ELFDumper.cpp | 1078 W.printNumber("SectionHeaderCount", Header->e_shnum);
|