e_type ET_SCE_DYNAMIC seems to be valid as well

This commit is contained in:
georgemoralis 2023-10-19 13:01:20 +03:00
parent e3effe8c0a
commit 90d24c3a3c
1 changed files with 2 additions and 2 deletions

View File

@ -206,8 +206,8 @@ bool Elf::isElfFile() const {
return false; return false;
} }
if (m_elf_header->e_type != ET_SCE_DYNEXEC && m_elf_header->e_type != ET_SCE_DYNAMIC) { if (m_elf_header->e_type != ET_SCE_DYNEXEC&& m_elf_header->e_type != ET_SCE_DYNAMIC&& m_elf_header->e_type != ET_SCE_EXEC) {
printf("ERROR:e_type expected 0xFE10 OR 0xFE18 is (%04x)\n", m_elf_header->e_type); printf("ERROR:e_type expected 0xFE10 OR 0xFE18 OR 0xfe00 is (%04x)\n", m_elf_header->e_type);
return false; return false;
} }