frida/frida-website

Frida server client communication protocol documentation

ajk0x00 opened this issue · 2 comments

Is there any documentation for understanding frida server client communication protocol? It will be helpful if i can create a script which can communicate directly to frida server.

Thank you

It's peer-to-peer DBus. All of the heavy lifting is done by the Vala compiler and GLib's GDBus implementation – the Vala compiler generates proxy glue for both client usage and to implement the server side. We only have to annotate the interfaces to be used, such as this one. Cheers!

See also:
https://wiki.gnome.org/Projects/Vala/DBusClientSamples
https://wiki.gnome.org/Projects/Vala/DBusServerSample

(Which don't illustrate peer-to-peer DBus, but everything else is the same.)