]> git.siccegge.de Git - frida/doc.git/blob - source/scripting.rst
Bump frida version
[frida/doc.git] / source / scripting.rst
1 Scripting
2 =========
3
4 The Interpreter Window
5 ----------------------
6
7 The simplest interface to FrIDa scripting is the dock window on the
8 bottom. It allows you to enter arbitrary GUILE commands and access the
9 FrIDa API. However it is not the preferred environment to do larger
10 scripting work in but rather a way to give a quick call start some of
11 the magic scripts.
12
13 Loading Scripts
14 ---------------
15
16 If you have written a FrIDa script, you can evaluate it using the
17 Interpreter Menu. GUILE Scripts are assumend to end in .scm. There is
18 unrestricted GUILE access available as well as the FrIDa API.
19
20 Connect with geiser
21 -------------------
22
23 When the GUILE plugin is loaded, it automatically starts a geiser
24 server listening on a UNIX domain socket located in
25 ``$XDG_RUNTIME_DIR`` if available, otherwise ``/tmp/runtime-$USER/``
26 or, as last resort, ``/tmp/frida-*/``. This allows you to connect
27 to FrIDa from your emacs. It gives you a powerfull REPL and full
28 programming support -- code completion, directly testing your commands
29 on a live binary.