frida / frida-python

Frida Python bindings
Other
787 stars 148 forks source link

IDA will stuck when use frida script #163

Open Youlor opened 4 years ago

Youlor commented 4 years ago

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 commented 4 years ago

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

// if no console.log, not stuck!
cosole.log("xxx");
oleavr commented 4 years ago

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