Fix check for 32-bit in ELF header

pull/2086/head
grossmj 2 years ago
parent f5e1956dfa
commit d022b211dc

@ -226,7 +226,7 @@ class IOUVM(BaseNode):
raise IOUError(f"IOU image '{self._path}' is not executable")
# set loader command
if elf_header_start[4] == b"\x01":
if elf_header_start[4] == 1:
# 32-bit loader
loader = os.path.join(self._lib_base, "lib", "ld-linux.so.2")
lib_path = (os.path.join(self._lib_base, "lib"),

Loading…
Cancel
Save