Commit 1bda635
committed
Auto-generate the bindings from Frida's .gir
Replace the hand-written extension and core with a generator
(frida/frida_bindgen) that reads Frida's .gir files and emits the
_frida C extension plus the sync frida.* and async frida.aio.*
facades.
Covers construction, enumeration, attach/spawn with keyword-argument
options, sessions, scripts, script RPC (blocking and awaitable),
signals with flexible handler arity, exception mapping, lists,
vardict/variant, bytes and string arrays, and top-level device
helpers. Also emits a real .pyi for the extension.
The little logic that cannot come from the .gir -- the GObject glue,
the marshallers and the RPC layer -- lives in clearly scoped assets.1 parent 0988dca commit 1bda635
57 files changed
Lines changed: 6600 additions & 9540 deletions
File tree
- frida
- _frida
- frida_bindgen
- assets
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Submodule frida-bindgen added at df17879
This file was deleted.
0 commit comments