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

123

/external/minijail/
H A Delfparse.h46 Elf32_Half e_shnum; /* Section header table entry count */ member in struct:__anon16092
64 Elf64_Half e_shnum; /* Section header table entry count */ member in struct:__anon16093
/external/elfutils/tests/
H A Dnewfile.c48 ehdr->e_shnum,
127 ZERO_TEST (e_shnum);
159 ZERO_TEST (e_shnum);
H A Delfshphehdr.c70 check ("e_shnum == 0", ehdr.e_shnum == 0);
97 check ("e_shnum == 0", ehdr.e_shnum == 0);
137 check ("e_shnum == 2", ehdr.e_shnum == 2);
H A Dupdate1.c77 ehdr->e_shnum, ehdr->e_shstrndx);
115 ehdr->e_shnum, ehdr->e_shstrndx);
H A Dupdate2.c78 ehdr->e_shnum, ehdr->e_shstrndx);
138 ehdr->e_shnum, ehdr->e_shstrndx);
H A Dupdate3.c87 ehdr->e_shnum, ehdr->e_shstrndx);
193 ehdr->e_shnum, ehdr->e_shstrndx);
H A Dasm-tst1.c48 .e_shnum = 4,
H A Dasm-tst2.c48 .e_shnum = 3,
/external/libunwind/src/ia64/
H A DGfind_unwind_table.c67 if (soff + ehdr->e_shnum * ehdr->e_shentsize > edi->ei.size)
70 soff + ehdr->e_shnum * ehdr->e_shentsize,
78 for (i = 0; i < ehdr->e_shnum; ++i)
/external/elfutils/libelf/
H A Dgelf_update_ehdr.c92 COPY (e_shnum);
H A Dgelf_getehdr.c85 COPY (e_shnum);
H A Delf_begin.c110 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum;
118 CONVERT (ehdr_mem.e32.e_shnum);
126 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)->e_shnum;
134 CONVERT (ehdr_mem.e64.e_shnum);
143 result = ehdr.e32->e_shnum;
192 result = ehdr.e64->e_shnum;
333 CONVERT (elf->state.elf32.ehdr_mem.e_shnum);
435 CONVERT (elf->state.elf64.ehdr_mem.e_shnum);
[all...]
/external/syslinux/com32/tools/
H A Drelocs.c206 if (shndx < ehdr.e_shnum) {
282 ehdr.e_shnum = elf16_to_cpu(ehdr.e_shnum);
303 if (ehdr.e_shstrndx >= ehdr.e_shnum) {
313 secs = calloc(ehdr.e_shnum, sizeof(struct section));
316 ehdr.e_shnum);
322 for (i = 0; i < ehdr.e_shnum; i++) {
326 i, ehdr.e_shnum, strerror(errno));
337 if (sec->shdr.sh_link < ehdr.e_shnum)
346 for (i = 0; i < ehdr.e_shnum;
[all...]
/external/swiftshader/third_party/LLVM/test/Scripts/
H A Delf-dump181 e_shnum = f.read16()
182 print "('e_shnum', %s)" % common_dump.HexDump(e_shnum)
188 for index in range(e_shnum[0]):
206 for index in range(e_shnum[0]):
/external/syslinux/gpxe/src/include/
H A Delf.h184 Elf32_Half e_shnum; /* Number of section header entries. */ member in struct:__anon22076
201 Elf64_Half e_shnum; /* Number of section header entries. */ member in struct:__anon22077
/external/elfutils/libdwfl/
H A Delf-from-memory.c142 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize;
154 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize;
331 ehdr.e32.e_shnum = 0;
358 ehdr.e64.e_shnum = 0;
/external/syslinux/com32/include/sys/
H A Delf32.h74 Elf32_Half e_shnum; member in struct:elf32_hdr
H A Delf64.h74 Elf64_Half e_shnum; member in struct:elf64_hdr
/external/syslinux/com32/lib/sys/module/i386/
H A Delf_module.c154 sht = malloc(elf_hdr->e_shnum * elf_hdr->e_shentsize);
160 image_read(sht, elf_hdr->e_shnum * elf_hdr->e_shentsize, module);
163 for (i = 0; i < elf_hdr->e_shnum; i++) {
/external/syslinux/com32/lib/sys/module/x86_64/
H A Delf_module.c154 sht = malloc(elf_hdr->e_shnum * elf_hdr->e_shentsize);
160 image_read(sht, elf_hdr->e_shnum * elf_hdr->e_shentsize, module);
163 for (i = 0; i < elf_hdr->e_shnum; i++) {
/external/google-breakpad/src/common/linux/
H A Ddump_symbols.cc245 int num_sections = elf_header->e_shnum;
620 elf_header->e_shnum);
640 elf_header->e_shnum);
656 elf_header->e_shnum);
660 elf_header->e_shnum);
688 elf_header->e_shnum);
706 elf_header->e_shnum);
713 elf_header->e_shnum);
717 elf_header->e_shnum);
738 names_end, elf_header->e_shnum);
[all...]
/external/syslinux/com32/mboot/
H A Dmap.c233 len = eh->e_shentsize * eh->e_shnum;
246 mbinfo.syms.e.num = eh->e_shnum;
250 for (i = 0; i < eh->e_shnum; i++) {
/external/libunwind/src/
H A Delfxx.c116 GET_EHDR_FIELD(ei, ehdr, e_shnum, true);
119 if (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize > size) {
121 (unsigned long) (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize),
166 GET_EHDR_FIELD(ei, ehdr, e_shnum, true);
169 for (i = 0; i < ehdr->e_shnum; ++i) {
279 if (soff + ehdr->e_shnum * ehdr->e_shentsize > ei->u.mapped.size) {
281 (unsigned long) (soff + ehdr->e_shnum * ehdr->e_shentsize),
322 for (i = 0; i < ehdr->e_shnum; ++i) {
539 for (i = 0; i < ehdr->e_shnum; ++i) {
/external/syslinux/gpxe/src/util/
H A Diccfix.c38 unsigned int shnum = ehdr->e_shnum;
/external/syslinux/gpxe/src/arch/i386/core/
H A Dfreebsd_loader.c137 estate.toread = estate.e.elf32.e_shnum * estate.e.elf32.e_shentsize;
165 for (i=0; i < estate.e.elf32.e_shnum; i++)

Completed in 1370 milliseconds

123