Home
last modified time | relevance | path

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

/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DReadElf.java755 int elfClass = mBuffer[EI_CLASS]; in readHeader() local
756 if (elfClass == ELFCLASS32) { in readHeader()
758 } else if (elfClass == ELFCLASS64) { in readHeader()
761 throw new IOException("Invalid ELF EI_CLASS: " + elfClass + ": " + mPath); in readHeader()
785 if ((e_machine == EM_386 && elfClass != ELFCLASS32) in readHeader()
786 || (e_machine == EM_X86_64 && elfClass != ELFCLASS64) in readHeader()
787 || (e_machine == EM_AARCH64 && elfClass != ELFCLASS64) in readHeader()
788 || (e_machine == EM_ARM && elfClass != ELFCLASS32) in readHeader()
789 || (e_machine == EM_QDSP6 && elfClass != ELFCLASS32)) { in readHeader()
794 + elfClass in readHeader()