From 6aa17782b7978755a89985d93cc5111c4e719685 Mon Sep 17 00:00:00 2001 From: William Ballenthin Date: Tue, 4 Aug 2020 10:33:45 -0600 Subject: [PATCH] extractors: ida: fix method signature --- capa/features/extractors/ida/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capa/features/extractors/ida/__init__.py b/capa/features/extractors/ida/__init__.py index 0d36423f2..6faf98478 100644 --- a/capa/features/extractors/ida/__init__.py +++ b/capa/features/extractors/ida/__init__.py @@ -65,7 +65,7 @@ def get_functions(self): 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)