Python binding for QBDI
Project description
Introduction
QuarkslaB Dynamic binary Instrumentation (QBDI) is a modular, cross-platform and cross-architecture DBI framework. It aims to support Linux, macOS, Android, iOS and Windows operating systems running on x86, x86-64, ARM and AArch64 architectures. In addition of C/C++ API, Python and JS/frida bindings are available to script QBDI. Information about what is a DBI framework and how QBDI works can be found in the documentation introduction.
QBDI modularity means it doesn’t contain a preferred injection method and it is designed to be used in conjunction with an external injection tool. QBDI includes a tiny (LD_PRELOAD based) Linux and macOS injector for dynamic executables (QBDIPreload). QBDI is also fully integrated with Frida, a reference dynamic instrumentation toolkit, allowing anybody to use their combined powers.
A current limitation is that QBDI doesn’t handle signals, multithreading (it doesn’t deal with new threads creation) and C++ exception mechanisms. However, those system-dependent features will probably not be part of the core library (KISS), and should be integrated as a new layer (to be determined how).
Status
CPU |
Operating Systems |
Execution |
Memory Access Information |
---|---|---|---|
x86-64 |
Android, Linux, macOS, Windows |
Supported |
Supported |
x86 |
Android, Linux, macOS, Windows |
Supported |
Supported |
ARM |
Android, Linux |
Supported (*) |
Supported (*) |
AArch64 |
Android, Linux, macOS |
Supported (*) |
Supported (*) |
* The ARM and AArch64 instruction sets are supported but in early support.
Installation
Python API (PyQBDI)
PyQBDI is available through PyPI. The wheel package can be either downloaded or installed with the following command:
pip install PyQBDI
The PyQBDI package is self-contained so completely independent from the C/C++ package.
Devel packages
There is no strict development timeline or scheduled release plan for the QBDI project. All the new features and fixes are merged onto the dev-next branch. Devel packages can be downloaded in the artefacts of:
Github Actions for Linux PyQBDI
Github Actions for OSX PyQBDI
Github Actions for windows PyQBDI
Compilation
The PyQDBI library (apart from the wheel package) can be built by solely passing the ‘-DQBDI_TOOLS_PYQBDI=ON’ option to the CMake build system.
However, if you want to build the wheel package, you can run these commands:
git clone https://github.com/QBDI/QBDI.git python -m pip install --upgrade pip python -m pip install setuptools wheel build python -m build -w
A 32-bit version of Python is mandatory for the X86 architecture whereas a 64-bit one is required for the X86-64 architecture.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for PyQBDI-0.10.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efa586e4134bada6500e09dcdc2d34fe13fc608915b983bb4fb6a7c8a3b4735b |
|
MD5 | fd1fa3c1b0dc5ae949f926301329e4fb |
|
BLAKE2b-256 | 5d0ed61e85d8aed7874e03f2e18ac7ef83a53df48c944c3c4364257289725873 |
Hashes for PyQBDI-0.10.0-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9909ba1e1d86af38ce687ef1976cbb67a2091e64cb06f3fdc55a4c6fe4dc4235 |
|
MD5 | 1d9505cb18fb261dda06a24997a344ce |
|
BLAKE2b-256 | 85ba4d82dfd7aa6716565ed6f4018eec2c871701443732f5546a966f4c1be8e5 |
Hashes for PyQBDI-0.10.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4eaa969626aeb23cd871387dc40bd2c2ed402ba45ac50d60192dcf886e4a18e |
|
MD5 | 5b6877db828d50589facd7d719671762 |
|
BLAKE2b-256 | 5d2ceabf73b91f90a51263a293e3519da853ba76f2829e45ae2912c096567d25 |
Hashes for PyQBDI-0.10.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d1915ef7fe78ab08197ee66002aa5c3e9e5300370d61ab5c3fe86692ff1b162 |
|
MD5 | b037a6e8b74fdfa165178dfbde8fabf7 |
|
BLAKE2b-256 | d1250236573e20bdc6f2418cace3c213d2a2dd63552298b607071d7a518629ea |
Hashes for PyQBDI-0.10.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7c31776740abf74bc2c559375afd7e71279c5ec6c60fd68b964a73554b66bb2 |
|
MD5 | 5d3a8b096ad4b4e260e57138c06471c8 |
|
BLAKE2b-256 | e33f12885085f847f2f0154cf7388a2b8e18a48b99506bbcbe6bca0a09f88447 |
Hashes for PyQBDI-0.10.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed2606b9e18e61ddaf891f7a700277da8221f88348339ae746ca853f3d665fba |
|
MD5 | 40e70d98f080a94dc3e573f09b7e6d12 |
|
BLAKE2b-256 | c27a958aaf5dbe4f082e41a4d3165dd53df6c2acd40046ae6aafd58e4a3212e3 |
Hashes for PyQBDI-0.10.0-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09df7702aa11c533e313bf4beb3e77111354cb65b3a8f70360bf62b9bfc85045 |
|
MD5 | 2d1886cb9010f290a2c1f25cf12bfa2e |
|
BLAKE2b-256 | e344767862aaac3680348c5cb7da800096860532900c4a570d325ad2fc05b858 |
Hashes for PyQBDI-0.10.0-cp311-cp311-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef8bdfb65016088a3e970a244fee0cfbb43ba2d236afd42e6cf77b25a4fd42ec |
|
MD5 | 8881afe16b73b31d0a13ffdaf8aead65 |
|
BLAKE2b-256 | 824eff47fc07c322eb62213d518b4fabf1684aff28fe5d4218d34ddad070a134 |
Hashes for PyQBDI-0.10.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c7e9f4519fb14a956f62e6c85cd0ae0b6f7d9c8218a4466b7357edceb84674c |
|
MD5 | 91654cad0df81cd9fbc965f058d955c1 |
|
BLAKE2b-256 | 335506c6b5227a3be2a1c391fa18c2b79993d30aaf58459be70d71328d73b7ed |
Hashes for PyQBDI-0.10.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27a2781049459fd2b9980e7906f616ae01fd41a253bce5ddd305957ebaf26297 |
|
MD5 | 8a325fd1aeccc102d6e6ffc06326f26d |
|
BLAKE2b-256 | a1d5f15433ec1910019caf03c20f435e55cd573e7a1a60084f680128433ade0b |
Hashes for PyQBDI-0.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c90e8abc952eaeae05b5927f1dc4d31b09821b14a7c7e29be1fbf53fb88f1fa3 |
|
MD5 | f5f4dafd1af662803512f090bfd6b974 |
|
BLAKE2b-256 | 6f86c1dd742113c83132aae99959a27f4d1c2c6b3ebe7746f0fd8b46807c111b |
Hashes for PyQBDI-0.10.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6d7a417348a424879e1005bfe111b1742eecbc0b0a5893c253f8af85e9a1997 |
|
MD5 | cdc0559fcac830dbfe16ba212eceb355 |
|
BLAKE2b-256 | ad4882f8daf29304f304aabafb1c4adabca7fdb9d88ed7a6d0ac5e2b10f328fe |
Hashes for PyQBDI-0.10.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a73187538d7ae70b5eae4967054cce79077710ab0e91b0688c8a4aa267d5ede |
|
MD5 | ea388abbeb5efda1726b3e1925f905a9 |
|
BLAKE2b-256 | 3d23f189e68b04eabf189bb02fb9a005ad5735d3525b45f112e8af14c173691f |
Hashes for PyQBDI-0.10.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f778a085da6f768fd44f20d40b019c59961dfe07a9bf2ecda069acccd15e21fa |
|
MD5 | b0ee0f91d3d4a99c83cb8740a627e21c |
|
BLAKE2b-256 | 65cb63d790c4917feb983346800ec7baf5f6e885704350da4f6640a0eb4bcbb2 |
Hashes for PyQBDI-0.10.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d16f222c04b748365036310f7e22aafa3ce6cb9b403faa244339744937039f8 |
|
MD5 | 4b6686fea1f562424864ed6735ce7c65 |
|
BLAKE2b-256 | e1090ac21815da00ebc61f9eee52413db3c0f84c0fe96625262acfd021d4e872 |
Hashes for PyQBDI-0.10.0-cp310-cp310-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65cb44f2395b7fd3d305083eadccbc5f6dc3a7f32cfed6b324b926f1a5b84dc1 |
|
MD5 | e9a999615ce0be1ce4c883c95bfdd687 |
|
BLAKE2b-256 | 220c6b9ff2e9130c5203f11f762536129acdb75bb74fb4c3446fdb5cac06f7aa |
Hashes for PyQBDI-0.10.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 111a3bdb8f56854191c3d4cf8e7ae72e0c0ac1295a1d273efdb0c9810b1f3a0c |
|
MD5 | cbe74df4f83f6c08b8562d1201504ad3 |
|
BLAKE2b-256 | 1968810bfe68a5619abecad6a35f24cfc0932ea6d1a44a7ff25f3c8d32d1f90b |
Hashes for PyQBDI-0.10.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b966669bcdeed05e02a42985452473fa6803e7e7b1bb5d839da260dba2eca38a |
|
MD5 | c5c25559192c47b0a66017b077615f2b |
|
BLAKE2b-256 | 05a624c9fdb2f1ff48d81ab2857398e3707633e03943e9e6c80ee6d2b99399cc |
Hashes for PyQBDI-0.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cbe9d60701dc356229d07346e99be06253ae794330cf9515af3484778f5ac92 |
|
MD5 | d0803ff9d59c7f992acc7aa65c0ddc80 |
|
BLAKE2b-256 | f4efcc105cc37340ad7c6d90f33400adcde3945451f33ebfca7403029f3c47b0 |
Hashes for PyQBDI-0.10.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 408bc9acb1921eaba2e96a30c1706f9e6ddc762210a6d9ef9fd2a40b16d180b4 |
|
MD5 | b8b4f8fd08056f00791e0f2caffc7b00 |
|
BLAKE2b-256 | 56f15a6d86ee454fe63ec62aea8fcf799db7e439be5534321c0ae575dcb1fc0e |
Hashes for PyQBDI-0.10.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e400d9b8726b891bf9d07466fb954949189a40d593e7e29417010712f4544802 |
|
MD5 | 074d70bf95949e1778d940374fa9bacf |
|
BLAKE2b-256 | 56cfbdbc21ac6dace65a61d644a5c3f19cfd3c724975d4f318162c522b0012b2 |
Hashes for PyQBDI-0.10.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d95055619d39285b8ff5c644ba866f693b6796ccf9e81c96620e3ed3ba2867bf |
|
MD5 | cd73d0ad0ae32fd6eccc0a338dd1d2be |
|
BLAKE2b-256 | b711964af90edf94ee03f4a29d303e7e022bbabb03478cfbe5dde26bb241e9cd |
Hashes for PyQBDI-0.10.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b5412aa203b5ec598c1aa802c4c7e9b2fdad923291d2391669e460dee88042b |
|
MD5 | d9769f812e13965fa5824bee782ec3f9 |
|
BLAKE2b-256 | 5e5d5fff1c952f2b1327b5941841d0d2f54e409b6fa25fe5c3d1d58cb8ee4d6b |
Hashes for PyQBDI-0.10.0-cp39-cp39-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09d2f407144f6f0b632e6b1d329cdf2183db4fc2f3f1ffce8aa454ec6ecbf9cf |
|
MD5 | 6e3ae56492ab2ee97eb4070dfcca0c5f |
|
BLAKE2b-256 | f350d881f446c8d3694fefe49a5850fd79f02ca3c558c726dcd450653c87793e |
Hashes for PyQBDI-0.10.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31ee929049dc3b065ade82e94542461b8755c929669a8e2b5fd46c3ece856b5f |
|
MD5 | a9b826e166005ad990340962f4b67d82 |
|
BLAKE2b-256 | 5d87e8b58d5518661daa5437e1f2bee1a606efd492c9c4ebdca5d198647d7ee5 |
Hashes for PyQBDI-0.10.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbebabc979627c3394ea0815572a35a76e33d088fbf5b9a8885196885088a64d |
|
MD5 | c223040bd9fc6574086636b2a0c25cc7 |
|
BLAKE2b-256 | d107ff15bec8394d78a071f295d408f7752e59da6e81c9320e3b948ce0da9fe7 |
Hashes for PyQBDI-0.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f111568b264de8f53cebf04f489a649822aa40a34f5f440b27fa8c55c8ec048 |
|
MD5 | 7a3c0290592e235997ce2c02a79a4585 |
|
BLAKE2b-256 | 33645cd934e4ba3cb3300214dd4e5fd088c57426168660ecde09eddf3b999a34 |
Hashes for PyQBDI-0.10.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d77d2f4854679c19e7ca2459ec8320813db6b7ca69db5100884bbf691b2b394e |
|
MD5 | 7371fbab31552b23f64da9c1f4d690b0 |
|
BLAKE2b-256 | 3d5acc0df982cecae705fbfdc9647c5af2a686a63e17f6d48231cd2a489f50a8 |
Hashes for PyQBDI-0.10.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fa5427a10184a9c9802f038f7893d37be8bc6bb792ac6531ffa4e58c874890a |
|
MD5 | 0f584dfae528da40a23524d6f035648f |
|
BLAKE2b-256 | 47ffc9ce3eb6cf5a1646a3aa2184a12435790f9524bc9c524a423d3d5ed602e0 |
Hashes for PyQBDI-0.10.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 237f194bcd1e6a9acb868933fb76601f105f0f49ac9bd3fd8c2a0288cdaecaa1 |
|
MD5 | e06fc9127eb6b388d94815f66911c1dd |
|
BLAKE2b-256 | bc2a9abc95a4a9114a38cb6ff039c660545b800e993b763cbd2f2837ee0b337b |
Hashes for PyQBDI-0.10.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bb3eaa2f28155d5839a38412eb700167e8c82196eb86809eceaaf022d1590e2 |
|
MD5 | 36c64a9ad83a37665a9fa9cd07a1d87b |
|
BLAKE2b-256 | 1fe7742f25d94695c1677ed4c2ebdbd49207867d45d4858c394875dc82bd4627 |
Hashes for PyQBDI-0.10.0-cp38-cp38-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffa2cafb5a85977ead8a3d78110e85b3af744852f64ee988d35f9b77bb947387 |
|
MD5 | ecf092204d18fb3fef86704c67081a12 |
|
BLAKE2b-256 | 9e59444fe41cf9e2c808fbc3bbbff075d94c4813d961bcbc0818cbff97a04553 |