frida-python icon indicating copy to clipboard operation
frida-python copied to clipboard

IDA will stuck when use frida script

Open Youlor opened this issue 4 years ago • 2 comments

Hello, When I use idapython script as below, ida will stuck.

self.session = frida.get_usb_device(1).attach(self.process)
self.script = self.session.create_script(self.code, runtime='v8')
self.script.on('message', FridaApp.on_message)
self.session.on('detached', FridaApp.on_detached)
self.script.load()

How to solve it? Thanks!

Youlor avatar Mar 03 '20 06:03 Youlor

seem as agent javascript code cause this problem, for example:

// if no console.log, not stuck!
cosole.log("xxx");

Youlor avatar Mar 03 '20 06:03 Youlor

Did you try moving that code to a separate Python thread?

oleavr avatar Mar 03 '20 15:03 oleavr