Skip to content

Commit

Permalink
Merge pull request #293 from jpacg/master
Browse files Browse the repository at this point in the history
Fix android hook overload filter.
  • Loading branch information
leonjza authored Nov 5, 2019
2 parents af4e006 + 786bfc2 commit 843c870
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 843c870

Please sign in to comment.