Home
last modified time | relevance | path

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

/system/core/libunwindstack/
DElf.cpp266 Elf32_Half e_machine; in CreateInterfaceFromMemory() local
267 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() local
288 if (!memory->ReadFully(EI_NIDENT + sizeof(Elf64_Half), &e_machine, sizeof(e_machine))) { in CreateInterfaceFromMemory()
292 machine_type_ = e_machine; in CreateInterfaceFromMemory()
[all …]
/system/update_engine/common/
Dutils.cc663 if (size < offsetof(Elf32_Ehdr, e_machine) + sizeof(hdr->e_machine)) in GetFileFormatELF()
665 uint16_t e_machine; in GetFileFormatELF() local
668 e_machine = le16toh(hdr->e_machine); in GetFileFormatELF()
670 e_machine = be16toh(hdr->e_machine); in GetFileFormatELF()
672 switch (e_machine) { in GetFileFormatELF()
/system/update_engine/payload_generator/
Dxz_android.cc85 switch (le16toh(header->e_machine)) { in GetFilterID()
/system/core/libunwindstack/tests/
DGenGnuDebugdata.cpp42 ehdr->e_machine = machine; in InitEhdr()
DElfTestUtils.cpp45 ehdr->e_machine = machine_type; in TestInitEhdr()
DJitDebugTest.cpp97 ehdr.e_machine = machine_type; in CreateElf()
DMapInfoGetElfTest.cpp56 ehdr->e_machine = machine_type; in InitElf()
/system/extras/simpleperf/
Dread_elf.cpp364 auto machine = elf_->getHeader()->e_machine; in ParseSymbols()
399 auto machine = elf_->getHeader()->e_machine; in ParseDynamicSymbols()
/system/core/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp215 ehdr.e_machine = machine_type; in PutElfInMemory()