Searched refs:e_machine (Results 1 – 1 of 1) sorted by relevance
774 int e_machine = readHalf(); in readHeader() local775 if (e_machine != EM_386 in readHeader()776 && e_machine != EM_X86_64 in readHeader()777 && e_machine != EM_AARCH64 in readHeader()778 && e_machine != EM_ARM in readHeader()779 && e_machine != EM_RISCV in readHeader()780 && e_machine != EM_QDSP6) { in readHeader()781 throw new IOException("Invalid ELF e_machine: " + e_machine + ": " + mPath); in readHeader()785 if ((e_machine == EM_386 && elfClass != ELFCLASS32) in readHeader()786 || (e_machine == EM_X86_64 && elfClass != ELFCLASS64) in readHeader()[all …]