Searched refs:ehdr (Results 1 – 2 of 2) sorted by relevance
207 Elf64_Ehdr ehdr; in punchHolesInElf64() local213 inputStream.read((char *)&ehdr, sizeof(ehdr)); in punchHolesInElf64()219 if (ehdr.e_ident[EI_CLASS] != ELFCLASS64) { in punchHolesInElf64()225 uint64_t programHeaderOffset = ehdr.e_phoff; in punchHolesInElf64()226 uint16_t programHeaderNum = ehdr.e_phnum; in punchHolesInElf64()
305 const llvm::ELF::Elf32_Ehdr* ehdr = in readSectionHeaders() local314 shoff = ehdr->e_shoff; in readSectionHeaders()315 shentsize = ehdr->e_shentsize; in readSectionHeaders()316 shnum = ehdr->e_shnum; in readSectionHeaders()317 shstrtab = ehdr->e_shstrndx; in readSectionHeaders()319 shoff = mcld::bswap32(ehdr->e_shoff); in readSectionHeaders()320 shentsize = mcld::bswap16(ehdr->e_shentsize); in readSectionHeaders()321 shnum = mcld::bswap16(ehdr->e_shnum); in readSectionHeaders()322 shstrtab = mcld::bswap16(ehdr->e_shstrndx); in readSectionHeaders()799 const llvm::ELF::Elf64_Ehdr* ehdr = in readSectionHeaders() local[all …]