Searched refs:e_machine (Results 1 – 3 of 3) sorted by relevance
775 int e_machine = readHalf(); in readHeader() local776 if (e_machine != EM_386 in readHeader()777 && e_machine != EM_X86_64 in readHeader()778 && e_machine != EM_AARCH64 in readHeader()779 && e_machine != EM_ARM in readHeader()780 && e_machine != EM_MIPS in readHeader()781 && e_machine != EM_QDSP6) { in readHeader()782 throw new IOException("Invalid ELF e_machine: " + e_machine + ": " + mPath); in readHeader()786 if ((e_machine == EM_386 && elfClass != ELFCLASS32) in readHeader()787 || (e_machine == EM_X86_64 && elfClass != ELFCLASS64) in readHeader()[all …]
123 machine = self.Ehdr.e_machine
609 return self.Ehdr.e_machine == machine