Skip to main content

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)

Uploaded Source

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

Hashes for bitnesslib-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2c4cf2c722b87502a0d82a1e084a5e73352392ab290138e8bc3f2b7075b526c9
MD5 374748d3cab5d31deff719addca1081b
BLAKE2b-256 a89bad2fb177ac7e12246a0adc202a70a53de418ecf99b12daff69513fdb272b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page