Update capa/features/extractors/ida/extractor.py: add call to get_input_file_path()

Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com>
This commit is contained in:
yelhamer
2023-07-19 15:39:06 +01:00
committed by GitHub
parent c5d08ec0d1
commit 7de223f116

View File

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