Commit 81712cb
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 81712cb
50 files changed
Lines changed: 7162 additions & 9532 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 | | |
| |||
This file was deleted.
0 commit comments