mirror of
https://github.com/mandiant/capa.git
synced 2026-01-08 03:11:05 -08:00
extractors: ida: fix method signature
This commit is contained in:
@@ -65,7 +65,7 @@ class IdaFeatureExtractor(FeatureExtractor):
|
||||
yield add_ea_int_cast(f)
|
||||
|
||||
@staticmethod
|
||||
def get_function(self, ea):
|
||||
def get_function(ea):
|
||||
f = idaapi.get_func(ea)
|
||||
setattr(f, "ctx", {})
|
||||
return add_ea_int_cast(f)
|
||||
|
||||
Reference in New Issue
Block a user