mirror of
https://github.com/mandiant/capa.git
synced 2026-02-04 11:07:53 -08:00
Remove dynsym from elf entirely
This commit is contained in:
@@ -90,8 +90,10 @@ def get_file_imports() -> Dict[int, Tuple[str, str, int]]:
|
||||
if not library:
|
||||
continue
|
||||
|
||||
# IDA uses section names for the library of ELF imports, like ".dynsym"
|
||||
library = library.lstrip(".")
|
||||
# IDA uses section names for the library of ELF imports, like ".dynsym".
|
||||
# These are not useful to us, we may need to expand this list over time (TODO: exhaust this list)
|
||||
if library == ".dynsym":
|
||||
library = ""
|
||||
|
||||
def inspect_import(ea, function, ordinal):
|
||||
if function and function.startswith("__imp_"):
|
||||
|
||||
Reference in New Issue
Block a user