[entropy.tools] add MIPS to elf_class_strtoint
This commit is contained in:
@@ -2612,7 +2612,7 @@ def elf_class_strtoint(elf_class_str):
|
||||
"""
|
||||
if elf_class_str in ("X86_64", "ELFCLASS64", "PARISC", "SPARCV9", "AARCH64"):
|
||||
return 2
|
||||
elif elf_class_str in ("ARM", "386", "ELFCLASS32", "SPARC"):
|
||||
elif elf_class_str in ("ARM", "386", "ELFCLASS32", "SPARC", "MIPS"):
|
||||
return 1
|
||||
else:
|
||||
raise ValueError('unsupported %s' % (elf_class_str,))
|
||||
|
||||
Reference in New Issue
Block a user