Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

To install Capstone, you should run pip install capstone.

If you would like to build and install Capstone with just the source distribution, just run python -m pip install ., considering you are in the folder with setup.py in it.

In order to use this source distribution, you will need an environment that can compile C code. On Linux, this is usually easy, but on Windows, this involves installing Visual Studio and using the "Developer Command Prompt" to perform the installation. See BUILDING.md for more information.

By default, attempting to install the python bindings will trigger a build of the capstone native core. If this is undesirable for whatever reason, for instance, you already have a globally installed copy of libcapstone, you may inhibit the build by setting the environment variable LIBCAPSTONE_PATH. The exact value is not checked, just setting it will inhibit the build. During execution, this variable may be set to the path of a directory containing a specific version of libcapstone you would like to use.

If you don't want to build your own copy of Capstone, you can use a precompiled binary distribution from PyPI. Saying pip install capstone should automatically obtain an appropriate copy for your system. If it does not, please open an issue at https://github.com/capstone-engine/capstone.


Capstone is a disassembly framework with the target of becoming the ultimate disasm engine for binary analysis and reversing in the security community.

Created by Nguyen Anh Quynh, then developed and maintained by a small community, Capstone offers some unparalleled features:

  • Support multiple hardware architectures: ARM, AARCH64 (ARMv8), Mips, PPC, Sparc, SystemZ, XCore and X86 (including X86_64).

  • Having clean/simple/lightweight/intuitive architecture-neutral API.

  • Provide details on disassembled instruction (called “decomposer” by others).

  • Provide semantics of the disassembled instruction, such as list of implicit registers read & written.

  • Implemented in pure C language, with lightweight wrappers for C++, C#, Go, Java, NodeJS, Ocaml, Python, Ruby & Vala ready (available in main code, or provided externally by the community).

  • Native support for all popular platforms: Windows, Mac OSX, iOS, Android, Linux, *BSD, Solaris, etc.

  • Thread-safe by design.

  • Special support for embedding into firmware or OS kernel.

  • High performance & suitable for malware analysis (capable of handling various X86 malware tricks).

  • Distributed under the open source BSD license.

Further information is available at http://www.capstone-engine.org

[License]

This project is released under the BSD license. If you redistribute the binary or source code of Capstone, please attach file LICENSE.TXT with your products.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

capstone-6.0.0a5.tar.gz (4.9 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

capstone-6.0.0a5-cp38-abi3-win_arm64.whl (2.2 MB view details)

Uploaded CPython 3.8+Windows ARM64

capstone-6.0.0a5-cp38-abi3-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.8+Windows x86-64

capstone-6.0.0a5-cp38-abi3-musllinux_1_2_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ x86-64

capstone-6.0.0a5-cp38-abi3-musllinux_1_2_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

capstone-6.0.0a5-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

capstone-6.0.0a5-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

capstone-6.0.0a5-cp38-abi3-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

capstone-6.0.0a5-cp38-abi3-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.8+macOS 10.9+ x86-64

File details

Details for the file capstone-6.0.0a5.tar.gz.

File metadata

  • Download URL: capstone-6.0.0a5.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for capstone-6.0.0a5.tar.gz
Algorithm Hash digest
SHA256 8f33b3ec2e2e93998d7bcb1b4d83faf2a2e27ac8516f8b1a945f956bd32d27f7
MD5 8e1c69658c4ff7807d9904ca0fca078a
BLAKE2b-256 00d341b6b8689d54478e680907fbd512106e450594581c6898d7ad82090cc2a0

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a5-cp38-abi3-win_arm64.whl.

File metadata

  • Download URL: capstone-6.0.0a5-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.8+, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for capstone-6.0.0a5-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 a39abe2e5c0cbf9f03c78e08ff83cbf36e666a2d84a5030f4259e6a86f80cb0a
MD5 a284efad8ef7d6c892e688e5f4e95517
BLAKE2b-256 2ed5da2a39f41562d6d2fcdf7b71f9055f26407111a0d540569fddcd1cda0a8e

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a5-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: capstone-6.0.0a5-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for capstone-6.0.0a5-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3f72c8a23f2008fea7b00f524b2ce6d1a3792d24c6a98e23e0941614479b8831
MD5 71ebc7800a9faa42e789bf4259487390
BLAKE2b-256 176c8f8f071bf513468456bf8028695bdee5ed919780d523eda5d81a5542a0d4

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a5-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a5-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 226dfa4c35052d77bc32b15001e5d28e96bd7091b3b90ce1a9d348d8b7d3243a
MD5 fd7df080f602cabf98f332da449cb369
BLAKE2b-256 06dce75de4b26c95d3ea7dbba153d953c43dd59dc42cb28083f7f3b5798e087b

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a5-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a5-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4be0b926f86091044584409e30a9f7415e54dba866fade11b7606ddcaca1015f
MD5 84ddf02b3aa5a933bcc40abd23923320
BLAKE2b-256 6b989890cbf39aac7bb0bf3ae8a5da0d2efb2f16132c5d8537add290ce3ecc65

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a5-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a5-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8c75b2596b7fd81a4072fe6ca69d979b13f2e2d503b1743606137314aa7fcb79
MD5 de788c42195417766b00ff9314a8f1f3
BLAKE2b-256 f6c0a7d08f537c0b8caf61b99a7a47f7641b0aedda087c2cfa9d9132a08c46bd

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a5-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a5-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 469e8c2103dd55dfa19a257dc51cdeee0b580ef038bd5bc51538939990ca2901
MD5 f5a16515eb81f0a0679328c7dccbe07f
BLAKE2b-256 c700ea0266c352eb19d9a4de027cde4bc1237a01b8c37651197e7f4b257912bc

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a5-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a5-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 946e9c6d22b71ff223bc673d67bdebb6a29ce0b633663e63748b7c20ee9dfd32
MD5 08e06758c87a73813bafedc34d840047
BLAKE2b-256 e782512eec0561a8d25b55066dc924987264e99d9254a22f5fe56be7decc8968

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a5-cp38-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a5-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2d82f08ad53bc5cef99afb4ec795ac48a3b6f60b87b6be59f5cd471f33297590
MD5 eb16625778bd0afc9f298d1820ee86bc
BLAKE2b-256 55f59264cec292f66bdedb11650534ff07289499859dfcaea74455c3099a5fab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page