mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
d9d53a89cca02458b4b47690474b9403175c7e27
The variant unmarshal helpers returned floating GVariants. When these values were stored in containers, the floating reference was consumed. Service.request() later unref'd the same GVariant, leading to refcount underflow and memory corruption, or appearing to work by accident when the memory was not yet reused. Ensure all unmarshalled GVariants are non-floating before returning them so that Service.request() always owns a full reference.
frida-python
Python bindings for Frida.
Some tips during development
To build and test your own wheel, do something along the following lines:
set FRIDA_VERSION=16.0.1-dev.7 # from C:\src\frida\build\tmp-windows\frida-version.h
set FRIDA_EXTENSION=C:\src\frida\build\frida-windows\x64-Release\lib\python3.10\site-packages\_frida.pyd
cd C:\src\frida\frida-python\
pip wheel .
pip uninstall frida
pip install frida-16.0.1.dev7-cp34-abi3-win_amd64.whl
Description
Languages
C
65.2%
Python
33.5%
Meson
0.7%
Batchfile
0.4%
Makefile
0.2%