Searched refs:e_machine (Results 1 – 9 of 9) sorted by relevance
266 Elf32_Half e_machine; in CreateInterfaceFromMemory() local267 if (!memory->ReadFully(EI_NIDENT + sizeof(Elf32_Half), &e_machine, sizeof(e_machine))) { in CreateInterfaceFromMemory()271 machine_type_ = e_machine; in CreateInterfaceFromMemory()272 if (e_machine == EM_ARM) { in CreateInterfaceFromMemory()275 } else if (e_machine == EM_386) { in CreateInterfaceFromMemory()278 } else if (e_machine == EM_MIPS) { in CreateInterfaceFromMemory()283 ALOGI("32 bit elf that is neither arm nor x86 nor mips: e_machine = %d\n", e_machine); in CreateInterfaceFromMemory()287 Elf64_Half e_machine; in CreateInterfaceFromMemory() local288 if (!memory->ReadFully(EI_NIDENT + sizeof(Elf64_Half), &e_machine, sizeof(e_machine))) { in CreateInterfaceFromMemory()292 machine_type_ = e_machine; in CreateInterfaceFromMemory()[all …]
663 if (size < offsetof(Elf32_Ehdr, e_machine) + sizeof(hdr->e_machine)) in GetFileFormatELF()665 uint16_t e_machine; in GetFileFormatELF() local668 e_machine = le16toh(hdr->e_machine); in GetFileFormatELF()670 e_machine = be16toh(hdr->e_machine); in GetFileFormatELF()672 switch (e_machine) { in GetFileFormatELF()
85 switch (le16toh(header->e_machine)) { in GetFilterID()
42 ehdr->e_machine = machine; in InitEhdr()
45 ehdr->e_machine = machine_type; in TestInitEhdr()
97 ehdr.e_machine = machine_type; in CreateElf()
56 ehdr->e_machine = machine_type; in InitElf()
364 auto machine = elf_->getHeader()->e_machine; in ParseSymbols()399 auto machine = elf_->getHeader()->e_machine; in ParseDynamicSymbols()
215 ehdr.e_machine = machine_type; in PutElfInMemory()