Skip to content

Commit adf7748

Browse files
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 adf7748

42 files changed

Lines changed: 6299 additions & 9532 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.gitignore‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
*.pyc
2+
*.abi3.so
23
/*.egg-info/
4+
/.cache/
35
/build/
46
/deps/
57
/dist/

‎frida/__init__.py‎

Lines changed: 0 additions & 189 deletions
This file was deleted.

0 commit comments

Comments
 (0)