Skip to content

Commit

Permalink
Fix android hook overload filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpacg committed Nov 5, 2019
1 parent af4e006 commit 786bfc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objection/commands/android/hooking.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@ def watch_class_method(args: list) -> None:
return

fully_qualified_class = args[0]
overload_filter = args[1] if '--' not in args[1] else None
overload_filter = args[1].replace(' ', '') if '--' not in args[1] else None

api = state_connection.get_api()
api.android_hooking_watch_method(fully_qualified_class,
overload_filter.replace(' ', ''),
overload_filter,
_should_dump_args(args),
_should_dump_backtrace(args),
_should_dump_return_value(args))
Expand Down

0 comments on commit 786bfc2

Please sign in to comment.