You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very good point. On the "client" side (python in this case) the message.type field is send whenever send() was used, and error in case of an unhandled exception. Perhaps a third type could be added, and bindings are expected to handle that one explicitly?
that would be a good way to do that imho. usually "print" is just for showing some notes to help the user, if you want something more complex you can implement more machinery in the client side to handle other kind of messages
Agreed. So then either we change console.log() to send this message, or introduce print() in the global scope. I would argue the former is rather useless as it is now.
Activity
oleavr commentedon Feb 18, 2015
Very good point. On the "client" side (python in this case) the
message.typefield issendwhenever send() was used, anderrorin case of an unhandled exception. Perhaps a third type could be added, and bindings are expected to handle that one explicitly?radare commentedon Feb 19, 2015
that would be a good way to do that imho. usually "print" is just for showing some notes to help the user, if you want something more complex you can implement more machinery in the client side to handle other kind of messages
oleavr commentedon Feb 19, 2015
Agreed. So then either we change
console.log()to send this message, or introduceprint()in the global scope. I would argue the former is rather useless as it is now.oleavr commentedon Feb 28, 2015
Implemented by 5b1d82c, and now also supported by frida/frida-python@59107ba and frida/frida-qml@d6b2c46.
radare commentedon Mar 1, 2015
Cool! Thanks
android_buildfix: don't link pthread when building for android (frida#8)