Given a binary, determine its bitness
Project description
bitnesslib
A Python library with one simple purpose: given a binary, determine its bitness.
Installation
pip install bitnesslib
Usage example
>>> import bitnesslib
>>> bitnesslib.get_bitness('C:/Windows/System32/calc.exe')
64
>>> bitnesslib.get_bitness('C:/Windows/SysWOW64/calc.exe')
32
Supported file formats
- MZ & PE
- ELF
- Mach-O
- IDA databases (.idb & .i64)
- Minidump
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
bitnesslib-0.2.0.tar.gz
(4.0 kB
view details)
File details
Details for the file bitnesslib-0.2.0.tar.gz
.
File metadata
- Download URL: bitnesslib-0.2.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c4cf2c722b87502a0d82a1e084a5e73352392ab290138e8bc3f2b7075b526c9 |
|
MD5 | 374748d3cab5d31deff719addca1081b |
|
BLAKE2b-256 | a89bad2fb177ac7e12246a0adc202a70a53de418ecf99b12daff69513fdb272b |