mirror of
https://github.com/mandiant/capa.git
synced 2026-02-04 11:07:53 -08:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user