Skip to content

Commit

Permalink
examples: Fix usage of deprecated RPC exports API (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
tututu-patch authored Oct 9, 2023
1 parent 3e489df commit ebd797e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/bytecode.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
session = frida.attach("Twitter")
script = session.create_script_from_bytes(bytecode)
script.load()
api = script.exports
api = script.exports_sync
print("api.list_threads() =>", api.list_threads())
2 changes: 1 addition & 1 deletion examples/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"""
)
script.load()
api = script.exports
api = script.exports_sync
print("api.hello() =>", api.hello())
api.fail_please()

0 comments on commit ebd797e

Please sign in to comment.