]> git.siccegge.de Git - frida/frida.git/blob - src/bindings/guile/frida.i
Make signals from geiser work
[frida/frida.git] / src / bindings / guile / frida.i
1 %module frida
2
3 %rename("%(utitle)s") "";
4
5 %include <cpointer.i>
6 %include <stdint.i>
7 %include <std_string.i>
8 %include <std_map.i>
9 %include <stl.i>
10
11 %{
12 #include "core/Function.hxx"
13 #include "core/BasicBlock.hxx"
14 #include "core/InformationManager.hxx"
15 #include "disassembler/Disassembler.hxx"
16
17 extern InformationManager* current_information_manager;
18 %}
19
20 namespace std {
21 /* %template(wearethepeople) map<uint64_t, BasicBlock*>; */
22 /* %template(FunctionMap) map<uint64_t, Function*>; */
23 /* %template(InterpreterMap) map<std::string, Interpreter*>; */
24 }
25
26 %inline %{
27 BasicBlock* deref(BasicBlock** x) {
28 return *x;
29 }
30 %}
31
32 %include "core/Function.hxx"
33 %include "core/BasicBlock.hxx"
34 %include "core/InformationManager.hxx"
35 %include "disassembler/Disassembler.hxx"
36
37 extern InformationManager* current_information_manager;