Searched refs:e_shnum (Results 1 – 15 of 15) sorted by relevance
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()247 ehdr.e_shnum = 4; in TEST_F()275 ehdr.e_shnum = 4; in TEST_F()306 ehdr.e_shnum = 4; in TEST_F()332 ehdr.e_shnum = 0; in TEST_F()361 ehdr.e_shnum = 0; in TEST_F()
522 ehdr.e_shnum = 2; in SonameInit()750 ehdr.e_shnum = 10; in InitSectionHeadersMalformed()775 ehdr.e_shnum = 5; in InitSectionHeadersMalformedSymData()848 ehdr.e_shnum = 5; in InitSectionHeaders()934 ehdr.e_shnum = 7; in InitSectionHeadersOffsets()1050 ehdr.e_shnum = 4; in InitSectionHeadersOffsetsEhFrameSectionBias()1144 ehdr.e_shnum = 4; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()1237 ehdr.e_shnum = 3; in InitSectionHeadersOffsetsDebugFrameSectionBias()1425 ehdr.e_shnum = 3; in TEST_F()1482 ehdr.e_shnum = 3; in TEST_F()[all …]
47 ehdr->e_shnum = 3; in GenElf()
135 ehdr.e_shnum = 3; in InitElfData()
55 ehdr.e_shnum = 4; in InitElf()428 ehdr.e_shnum = 1; in TEST_F()
103 ehdr.e_shnum = 4; in CreateElf()
119 ehdr.e_shnum = 1; in WriteElfFile()
1699 ehdr.e_shnum = 3; in TEST_F()
345 if (ehdr.e_shstrndx < ehdr.e_shnum) { in ReadSectionHeaders()355 for (size_t i = 1; i < ehdr.e_shnum; i++, offset += ehdr.e_shentsize) { in ReadSectionHeaders()364 if (shdr.sh_link >= ehdr.e_shnum) { in ReadSectionHeaders()597 uint64_t elf_size = ehdr.e_shoff + ehdr.e_shentsize * ehdr.e_shnum; in GetMaxSize()632 if (ehdr.e_shstrndx >= ehdr.e_shnum) { in GetBuildIDInfo()645 for (size_t i = 1; i < ehdr.e_shnum; i++, offset += ehdr.e_shentsize) { in GetBuildIDInfo()
136 uint16_t shNum = elf64Binary.ehdr.e_shnum; in ParseSectionHeaders()
169 Elf32_Half e_shnum; member
470 (elfHeader->e_shstrndx < elfHeader->e_shnum) && in verifyElfHeader()555 size_t sectionHeaderSizeBytes = sizeof(SectionHeader) * elfHeader->e_shnum; in copyAndVerifyHeaders()564 mNumSectionHeaders = elfHeader->e_shnum; in copyAndVerifyHeaders()
141 shTable.resize(eh.e_shnum); in readSectionHeadersAll()143 if (!elfFile.read((char*)shTable.data(), (eh.e_shnum * eh.e_shentsize))) return -ENOMEM; in readSectionHeadersAll()
256 ehdr.e_shnum = 3; in PutElfInMemory()