mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 23:59:48 -08:00
_parse(): fix section header unpacking field size
This commit is contained in:
@@ -658,7 +658,7 @@ class SymTab:
|
||||
)
|
||||
elif bitness == 64:
|
||||
name_offset, info, other, shndx, value, size = struct.unpack_from(
|
||||
endian + "IBBBQQ", 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