Skip to content

Commit

Permalink
vmray: improve extract_import_names
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-hunhoff committed Jul 29, 2024
1 parent 1a3cf4a commit 8cba23b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions capa/features/extractors/vmray/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def extract_export_names(analysis: VMRayAnalysis) -> Iterator[Tuple[Feature, Add


def extract_import_names(analysis: VMRayAnalysis) -> Iterator[Tuple[Feature, Address]]:
for addr, name in analysis.imports.items():
for symbol in generate_symbols(name[0], name[1], include_dll=True):
for addr, (module, api) in analysis.imports.items():
for symbol in generate_symbols(module, api, include_dll=True):
yield Import(symbol), AbsoluteVirtualAddress(addr)


Expand Down

0 comments on commit 8cba23b

Please sign in to comment.