Searched refs:e_machine (Results 1 – 11 of 11) sorted by relevance
288 Elf32_Half e_machine; in CreateInterfaceFromMemory() local289 if (!memory->ReadFully(EI_NIDENT + sizeof(Elf32_Half), &e_machine, sizeof(e_machine))) { in CreateInterfaceFromMemory()293 machine_type_ = e_machine; in CreateInterfaceFromMemory()294 if (e_machine == EM_ARM) { in CreateInterfaceFromMemory()297 } else if (e_machine == EM_386) { in CreateInterfaceFromMemory()300 } else if (e_machine == EM_MIPS) { in CreateInterfaceFromMemory()305 ALOGI("32 bit elf that is neither arm nor x86 nor mips: e_machine = %d\n", e_machine); in CreateInterfaceFromMemory()309 Elf64_Half e_machine; in CreateInterfaceFromMemory() local310 if (!memory->ReadFully(EI_NIDENT + sizeof(Elf64_Half), &e_machine, sizeof(e_machine))) { in CreateInterfaceFromMemory()314 machine_type_ = e_machine; in CreateInterfaceFromMemory()[all …]
672 if (size < offsetof(Elf32_Ehdr, e_machine) + sizeof(hdr->e_machine)) in GetFileFormatELF()674 uint16_t e_machine; in GetFileFormatELF() local677 e_machine = le16toh(hdr->e_machine); in GetFileFormatELF()679 e_machine = be16toh(hdr->e_machine); in GetFileFormatELF()681 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()
99 ehdr.e_machine = machine_type; in CreateElf()
56 ehdr->e_machine = machine_type; in InitElf()
152 Elf32_Half e_machine; member
380 auto machine = elf_->getHeader()->e_machine; in ParseSymbols()415 auto machine = elf_->getHeader()->e_machine; in ParseDynamicSymbols()
258 ehdr.e_machine = machine_type; in PutElfInMemory()
421 (elfHeader->e_machine == CHRE_LOADER_ARCH) && in verifyElfHeader()