Searched refs:e_shnum (Results 1 – 13 of 13) sorted by relevance
286 if (ehdr.e_shstrndx < ehdr.e_shnum) { in ReadSectionHeaders()296 for (size_t i = 1; i < ehdr.e_shnum; i++, offset += ehdr.e_shentsize) { in ReadSectionHeaders()305 if (shdr.sh_link >= ehdr.e_shnum) { in ReadSectionHeaders()529 if (ehdr.e_shnum == 0) { in GetMaxSize()532 *size = ehdr.e_shoff + ehdr.e_shentsize * ehdr.e_shnum; in GetMaxSize()546 if (ehdr.e_shstrndx >= ehdr.e_shnum) { in GetBuildIDInfo()559 for (size_t i = 1; i < ehdr.e_shnum; i++, offset += ehdr.e_shentsize) { in GetBuildIDInfo()
68 ehdr.e_shnum = 3; in TestInitGnuDebugdata()83 uint64_t symtab_offset = sizeof(ehdr) + ehdr.e_shnum * ehdr.e_shentsize; in TestInitGnuDebugdata()
59 ehdr->e_shnum = 4; in InitElf()254 ehdr.e_shnum = 4; in TEST_F()282 ehdr.e_shnum = 4; in TEST_F()311 ehdr.e_shnum = 0; in TEST_F()338 ehdr.e_shnum = 0; in TEST_F()
521 ehdr.e_shnum = 2; in SonameInit()753 ehdr.e_shnum = 10; in InitSectionHeadersMalformed()778 ehdr.e_shnum = 5; in InitSectionHeadersMalformedSymData()851 ehdr.e_shnum = 5; in InitSectionHeaders()937 ehdr.e_shnum = 7; in InitSectionHeadersOffsets()1050 ehdr.e_shnum = 4; in InitSectionHeadersOffsetsEhFrameSectionBias()1142 ehdr.e_shnum = 4; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()1233 ehdr.e_shnum = 3; in InitSectionHeadersOffsetsDebugFrameSectionBias()1421 ehdr.e_shnum = 3; in TEST_F()1478 ehdr.e_shnum = 3; in TEST_F()[all …]
51 ehdr->e_shnum = 3; in GenElf()
138 ehdr.e_shnum = 3; in InitElfData()
55 ehdr.e_shnum = 4; in InitElf()398 ehdr.e_shnum = 1; in TEST_F()
103 ehdr.e_shnum = 4; in CreateElf()
1692 ehdr.e_shnum = 3; in TEST_F()
162 Elf32_Half e_shnum; member
419 (elfHeader->e_shstrndx < elfHeader->e_shnum) && in verifyElfHeader()562 size_t sectionHeaderSizeBytes = sizeof(SectionHeader) * elfHeader->e_shnum; in copyAndVerifyHeaders()570 mNumSectionHeaders = elfHeader->e_shnum; in copyAndVerifyHeaders()
133 shTable.resize(eh.e_shnum); in readSectionHeadersAll()135 if (!elfFile.read((char*)shTable.data(), (eh.e_shnum * eh.e_shentsize))) return -ENOMEM; in readSectionHeadersAll()
262 ehdr.e_shnum = 3; in PutElfInMemory()