mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
SymTab: Update unpacking format
Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user