mirror of
https://github.com/mandiant/capa.git
synced 2025-12-19 18:45:00 -08:00
rename strtab to strtab_section
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com>
This commit is contained in:
@@ -133,7 +133,7 @@ def extract_insn_api_features(fh: FunctionHandle, bb, ih: InsnHandle) -> Iterato
|
|||||||
SHT_SYMTAB = 0x2
|
SHT_SYMTAB = 0x2
|
||||||
for section in elf.sections:
|
for section in elf.sections:
|
||||||
if section.sh_info & SHT_SYMTAB:
|
if section.sh_info & SHT_SYMTAB:
|
||||||
strtab = elf.sections[section.vsGetField("sh_link")]
|
strtab_section = elf.sections[section.vsGetField("sh_link")]
|
||||||
sh_symtab = Shdr.from_viv(section, elf.getSectionBytes(section.name))
|
sh_symtab = Shdr.from_viv(section, elf.getSectionBytes(section.name))
|
||||||
sh_strtab = Shdr.from_viv(strtab, elf.getSectionBytes(strtab.name))
|
sh_strtab = Shdr.from_viv(strtab, elf.getSectionBytes(strtab.name))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user