Remove dynsym from elf entirely

This commit is contained in:
Stephen Eckels
2023-03-29 15:58:16 -04:00
parent 6bb14d0874
commit 5e8262d3c0

View File

@@ -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_"):