Home
last modified time | relevance | path

Searched refs:e_machine (Results 1 – 5 of 5) sorted by relevance

/system/core/libunwindstack/
DElf.cpp137 Elf32_Half e_machine; in CreateInterfaceFromMemory() local
138 if (!memory->Read(EI_NIDENT + sizeof(Elf32_Half), &e_machine, sizeof(e_machine))) { in CreateInterfaceFromMemory()
142 if (e_machine != EM_ARM && e_machine != EM_386) { in CreateInterfaceFromMemory()
144 ALOGI("32 bit elf that is neither arm nor x86: e_machine = %d\n", e_machine); in CreateInterfaceFromMemory()
148 machine_type_ = e_machine; in CreateInterfaceFromMemory()
149 if (e_machine == EM_ARM) { in CreateInterfaceFromMemory()
151 } else if (e_machine == EM_386) { in CreateInterfaceFromMemory()
154 ALOGI("32 bit elf that is neither arm nor x86: e_machine = %d\n", e_machine); in CreateInterfaceFromMemory()
158 Elf64_Half e_machine; in CreateInterfaceFromMemory() local
159 if (!memory->Read(EI_NIDENT + sizeof(Elf64_Half), &e_machine, sizeof(e_machine))) { in CreateInterfaceFromMemory()
[all …]
/system/update_engine/common/
Dutils.cc775 if (size < offsetof(Elf32_Ehdr, e_machine) + sizeof(hdr->e_machine)) in GetFileFormatELF()
777 uint16_t e_machine; in GetFileFormatELF() local
780 e_machine = le16toh(hdr->e_machine); in GetFileFormatELF()
782 e_machine = be16toh(hdr->e_machine); in GetFileFormatELF()
784 switch (e_machine) { in GetFileFormatELF()
/system/core/libunwindstack/tests/
DGenGnuDebugdata.cpp42 ehdr->e_machine = machine; in InitEhdr()
DElfTestUtils.cpp45 ehdr->e_machine = machine_type; in TestInitEhdr()
/system/extras/simpleperf/
Dread_elf.cpp353 auto machine = elf->getELFFile()->getHeader()->e_machine; in ParseSymbolsFromELFFile()