SymTab: Update unpacking format

Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
This commit is contained in:
Yacine Elhamer
2023-04-24 17:57:06 +01:00
committed by GitHub
parent 861e96d33e
commit 2faae5d022

View File

@@ -661,7 +661,7 @@ class SymTab:
)
elif bitness == 64:
name_offset, info, other, shndx, value, size = struct.unpack_from(
endian + "IBBhQQ", symtab_buf, i * self.symtab.entsize
endian + "IBBHQQ", symtab_buf, i * self.symtab.entsize
)
self.symbols.append(Symbol(name_offset, value, size, info, other, shndx))