Searched refs:e_shnum (Results 1 – 6 of 6) sorted by relevance
90 if (ehdr.e_shnum == 0) { in ParseElfHeaders()108 elfSize_ = ehdr.e_shoff + ehdr.e_shentsize * ehdr.e_shnum; in ParseElfHeaders()178 if (ehdr.e_shstrndx < ehdr.e_shnum) { in ParseSectionHeaders()192 … LOGE("e_shstrndx(%u) cannot greater than or equal e_shnum(%u)", ehdr.e_shstrndx, ehdr.e_shnum); in ParseSectionHeaders()197 for (size_t i = 1; i < ehdr.e_shnum; i++, offset += ehdr.e_shentsize) { in ParseSectionHeaders()225 if (shdr.sh_link >= ehdr.e_shnum) { in ParseSectionHeaders()
1006 return static_cast<size_t>(ehdr->e_shoff + (ehdr->e_shentsize * ehdr->e_shnum)); in GetElfSize()1009 return static_cast<size_t>(ehdr->e_shoff + (ehdr->e_shentsize * ehdr->e_shnum)); in GetElfSize()
131 Elf32_Half e_shnum; // Section header table entry count member148 Elf64_Half e_shnum; // Section header table entry count member
39 Elf32_Half e_shnum; member
40 Elf64_Half e_shnum; member
268 o.head.e_shnum = sizeof(o.sections) / sizeof(o.sections[0]);