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

12

/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/0.153/libelf/
H A Dgelf_update_ehdr.c113 COPY (e_shnum);
H A Dgelf_getehdr.c107 COPY (e_shnum);
H A Delf_begin.c131 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum;
139 CONVERT (ehdr_mem.e32.e_shnum);
147 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)->e_shnum;
155 CONVERT (ehdr_mem.e64.e_shnum);
164 result = ehdr.e32->e_shnum;
212 result = ehdr.e64->e_shnum;
381 CONVERT (elf->state.elf32.ehdr_mem.e_shnum);
467 CONVERT (elf->state.elf64.ehdr_mem.e_shnum);
[all...]
H A Delf32_updatenull.c117 update_if_changed (ehdr->e_shnum, 0,
121 update_if_changed (ehdr->e_shnum, shnum,
409 e_shnum (or sh_size of the dummy, first section header)
/external/qemu/include/hw/
H A Delf_ops.h14 bswap16s(&ehdr->e_shnum); /* Section header table entry count */
110 sizeof(struct elf_shdr) * ehdr->e_shnum);
115 for (i = 0; i < ehdr->e_shnum; i++) {
120 symtab = glue(find_section, SZ)(shdr_table, ehdr->e_shnum, SHT_SYMTAB);
155 if (symtab->sh_link >= ehdr->e_shnum)
/external/chromium_org/third_party/libvpx/source/libvpx/build/make/
H A Dobj_int_extract.c273 ENDIAN_ASSIGN_IN_PLACE(elf->hdr32.e_shnum);
290 ENDIAN_ASSIGN_IN_PLACE(elf->hdr64.e_shnum);
302 if (idx >= elf->hdr32.e_shnum)
318 if (idx >= elf->hdr64.e_shnum)
404 for (i = 0; i < elf.hdr32.e_shnum; i++) {
421 for (i = 0; i < elf.hdr64.e_shnum; i++) {
441 for (i = 0; i < elf.hdr32.e_shnum; i++) {
530 for (i = 0; i < elf.hdr64.e_shnum; i++) {
/external/libvpx/libvpx/build/make/
H A Dobj_int_extract.c273 ENDIAN_ASSIGN_IN_PLACE(elf->hdr32.e_shnum);
290 ENDIAN_ASSIGN_IN_PLACE(elf->hdr64.e_shnum);
302 if (idx >= elf->hdr32.e_shnum)
318 if (idx >= elf->hdr64.e_shnum)
404 for (i = 0; i < elf.hdr32.e_shnum; i++) {
421 for (i = 0; i < elf.hdr64.e_shnum; i++) {
441 for (i = 0; i < elf.hdr32.e_shnum; i++) {
530 for (i = 0; i < elf.hdr64.e_shnum; i++) {
/external/chromium_org/courgette/
H A Dtypes_elf.h34 Elf32_Half e_shnum; member in struct:Elf32_Ehdr
H A Ddisassembler_elf_32.cc61 section_header_table_size_ = header_->e_shnum;
63 if ((header_->e_shoff + header_->e_shnum ) >= length())
130 (header_->e_shnum * sizeof(Elf32_Shdr));
/external/elfutils/0.153/libdwfl/
H A Delf-from-memory.c152 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize;
164 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize;
308 ehdr.e32.e_shnum = 0;
335 ehdr.e64.e_shnum = 0;
H A Ddwfl_segment_report_module.c213 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize;
226 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize;
/external/libunwind/src/
H A Delfxx.c43 if (soff + ehdr->e_shnum * ehdr->e_shentsize > ei->size)
46 (unsigned long) (soff + ehdr->e_shnum * ehdr->e_shentsize),
109 for (i = 0; i < ehdr->e_shnum; ++i)
240 for (i = 0; i < ehdr->e_shnum; ++i)
/external/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h73 elf_half e_shnum; ///< Number of section header entries. member in struct:elf::ELFHeader
H A DObjectFileELF.cpp338 size_t section_header_end = header.e_shoff + header.e_shnum * header.e_shentsize;
731 if (header.e_shnum == 0)
734 section_headers.resize(header.e_shnum);
735 if (section_headers.size() != header.e_shnum)
738 const size_t sh_size = header.e_shnum * header.e_shentsize;
746 for (idx = 0, offset = 0; idx < header.e_shnum; ++idx)
1569 s->Printf("e_shnum = 0x%4.4x\n", header.e_shnum);
/external/chromium_org/third_party/libvpx/include/
H A Delf.h240 Elf32_Half e_shnum; member in struct:elf32_hdr
260 Elf64_Half e_shnum; member in struct:elf64_hdr
/external/kernel-headers/original/uapi/linux/
H A Delf.h216 Elf32_Half e_shnum; member in struct:elf32_hdr
233 Elf64_Half e_shnum; member in struct:elf64_hdr
/external/ltrace/
H A Dltrace-elf.c131 for (i = 1; i < lte->ehdr.e_shnum; ++i) {
500 if (vect_reserve_additional(rela_vec, lte->ehdr.e_shnum) < 0)
580 for (i = 1; i < lte->ehdr.e_shnum; ++i) {
672 for (i = 1; i < lte->ehdr.e_shnum; ++i) {
696 if (i == lte->ehdr.e_shnum) {
922 GElf_Word secflags[lte->ehdr.e_shnum];
924 for (i = 1; i < lte->ehdr.e_shnum; ++i) {
945 || sym.st_shndx >= lte->ehdr.e_shnum)
/external/valgrind/main/VEX/switchback/
H A Dlinker.c404 for (i = 0; i < ehdr->e_shnum; i++) {
890 for (shnum = 0; shnum < ehdr->e_shnum; shnum++) {
989 ehdr->e_shnum, ehdr->e_shentsize );
1005 for (i = 0; i < ehdr->e_shnum; i++) {
1030 for (i = 0; i < ehdr->e_shnum; i++) {
1051 for (i = 0; i < ehdr->e_shnum; i++) {
1135 for (i = 0; i < ehdr->e_shnum; i++) {
1250 assert(secno > 0 && secno < ehdr->e_shnum);
/external/valgrind/main/VEX/unused/
H A Dlinker.c336 for (i = 0; i < ehdr->e_shnum; i++) {
730 for (shnum = 0; shnum < ehdr->e_shnum; shnum++) {
826 ehdr->e_shoff, ehdr->e_shnum, ehdr->e_shentsize );
842 for (i = 0; i < ehdr->e_shnum; i++) {
867 for (i = 0; i < ehdr->e_shnum; i++) {
888 for (i = 0; i < ehdr->e_shnum; i++) {
972 for (i = 0; i < ehdr->e_shnum; i++) {
1083 assert(secno > 0 && secno < ehdr->e_shnum);
/external/chromium_org/base/third_party/symbolize/
H A Dsymbolize.cc243 for (int i = 0; i < elf_header.e_shnum; ++i) {
345 if (GetSectionHeaderByType(fd, elf_header.e_shnum, elf_header.e_shoff,
358 if (GetSectionHeaderByType(fd, elf_header.e_shnum, elf_header.e_shoff,
/external/libunwind/src/dwarf/
H A DGfind_proc_info-lsb.c122 sec_hdrs = calloc (ehdr.e_shnum, sizeof (Elf_W (Shdr)));
123 if (fread (sec_hdrs, sizeof (Elf_W (Shdr)), ehdr.e_shnum, f) != ehdr.e_shnum)
133 for (i = 1; i < ehdr.e_shnum && *buf == NULL; i++)
/external/llvm/tools/yaml2obj/
H A Dyaml2elf.cpp178 Header.e_shnum = getSectionCount();
427 Header.e_ehsize + Header.e_shentsize * Header.e_shnum;
/external/valgrind/main/coregrind/m_debuginfo/
H A Dreadelf.c132 ok &= (ehdr->e_shoff != 0 && ehdr->e_shnum != 0);
1060 for (i = 0; i < ehdr.e_shnum; i++) {
1530 shdr_mnent = ehdr_m.e_shnum;
2259 for (i = 0; i < ehdr_m.e_shnum; i++) {
2417 UWord shdr_dnent = ehdr_dimg.e_shnum;
2503 for (i = 0; i < ehdr_dimg.e_shnum; i++) {
2654 UWord shdr_anent = ehdr_aimg.e_shnum;
2690 for (i = 0; i < ehdr_aimg.e_shnum; i++) {
/external/llvm/include/llvm/Object/
H A DELF.h606 if (Header->e_shnum == ELF::SHN_UNDEF && Header->e_shoff > 0) {
610 return Header->e_shnum;
615 if (Header->e_shnum == ELF::SHN_UNDEF) {

Completed in 3999 milliseconds

12