From 7de223f116932caa2b78fd6e437f50ff06c7d2ea Mon Sep 17 00:00:00 2001 From: yelhamer <16624109+yelhamer@users.noreply.github.com> Date: Wed, 19 Jul 2023 15:39:06 +0100 Subject: [PATCH] Update capa/features/extractors/ida/extractor.py: add call to get_input_file_path() Co-authored-by: Willi Ballenthin --- capa/features/extractors/ida/extractor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capa/features/extractors/ida/extractor.py b/capa/features/extractors/ida/extractor.py index 63c39626..d45f0860 100644 --- a/capa/features/extractors/ida/extractor.py +++ b/capa/features/extractors/ida/extractor.py @@ -34,7 +34,7 @@ class IdaFeatureExtractor(StaticFeatureExtractor): self.global_features.extend(capa.features.extractors.ida.file.extract_file_format()) self.global_features.extend(capa.features.extractors.ida.global_.extract_os()) self.global_features.extend(capa.features.extractors.ida.global_.extract_arch()) - with open(idaapi.get_input_file_path, "rb") as f: + with open(idaapi.get_input_file_path(), "rb") as f: self.sample_hashes = SampleHashes(f.read()) def get_base_address(self):