Skip to content

Commit

Permalink
extractors: ida: fix method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
williballenthin committed Aug 4, 2020
1 parent e74b80a commit 6aa1778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capa/features/extractors/ida/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6aa1778

Please sign in to comment.