Skip to main content

To install Capstone, you should run pip install capstone.

If you would like to build Capstone with just the source distribution, without pip, just run python setup.py install 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.txt 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/aquynh/capstone and tag @rhelmot - she will fix this, probably!


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, ARM64 (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-5.0.0.post1.tar.gz (2.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-5.0.0.post1-py3-none-win_amd64.whl (1.3 MB view details)

Uploaded Python 3Windows x86-64

capstone-5.0.0.post1-py3-none-win32.whl (1.2 MB view details)

Uploaded Python 3Windows x86

capstone-5.0.0.post1-py3-none-manylinux1_x86_64.whl (2.9 MB view details)

Uploaded Python 3

capstone-5.0.0.post1-py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl (2.9 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ x86-64

capstone-5.0.0.post1-py3-none-manylinux1_i686.whl (2.9 MB view details)

Uploaded Python 3

capstone-5.0.0.post1-py3-none-manylinux1_i686.manylinux_2_5_i686.whl (2.9 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ i686

capstone-5.0.0.post1-py3-none-macosx_10_9_universal2.whl (2.4 MB view details)

Uploaded Python 3macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file capstone-5.0.0.post1.tar.gz.

File metadata

  • Download URL: capstone-5.0.0.post1.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for capstone-5.0.0.post1.tar.gz
Algorithm Hash digest
SHA256 fe0affca395c09ce76a21c5f0fac026e74396839a220798ca5e57c54305bcf65
MD5 f81ef17abb8f2a14e4080ad2c5f97c8a
BLAKE2b-256 de044c2ae5ef70dadd773b39d39d30f1cab54d4a27aa0af69ac1414e2338434e

See more details on using hashes here.

File details

Details for the file capstone-5.0.0.post1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for capstone-5.0.0.post1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bb3cc7bc4dbacbdc4ff80c80a003b022424bcb98dcabe215bac2aaa7d3dbb0c3
MD5 b6e426c65385fca3d409fc5c418c458b
BLAKE2b-256 1d4bcc9c5162f08666e1adb1134a1129d4471056d077b015add00a6a3b8814f9

See more details on using hashes here.

File details

Details for the file capstone-5.0.0.post1-py3-none-win32.whl.

File metadata

  • Download URL: capstone-5.0.0.post1-py3-none-win32.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for capstone-5.0.0.post1-py3-none-win32.whl
Algorithm Hash digest
SHA256 209e2f2f961c225d627714a351e8beb6266e6498653353d15ba9abc11f140553
MD5 159b5bcfb3b3c8b3b18f2eb92d70f6d8
BLAKE2b-256 77f4bad18a22ed2f4e05d5d9255b5cd13b552655836cb02ff70e7a60bcce6293

See more details on using hashes here.

File details

Details for the file capstone-5.0.0.post1-py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for capstone-5.0.0.post1-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 94fdea8158a1066c5ba5bb284d1da0132227f10d3eb57de1784f4c64445c76d7
MD5 4fc67725499049250951f05f2dff1e72
BLAKE2b-256 09acb3631e004ca09410b12e0ce570bce86e01487f6aeaaf87d7cea9ff9a884e

See more details on using hashes here.

File details

Details for the file capstone-5.0.0.post1-py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for capstone-5.0.0.post1-py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 4d477559219683200ea3abe4f5c2d5b3563f1f94f72f42292ad83feb0913cc29
MD5 7bd0e2879bc6cdfe5147ddfd6d569123
BLAKE2b-256 103518983816e3be4ba6dddf8be864af3ac0628919420db40d9c9a352345e274

See more details on using hashes here.

File details

Details for the file capstone-5.0.0.post1-py3-none-manylinux1_i686.whl.

File metadata

File hashes

Hashes for capstone-5.0.0.post1-py3-none-manylinux1_i686.whl
Algorithm Hash digest
SHA256 9e7d0e910505efe7e12a80e5eba1bfe039e87f3b004d880515d62445c0d3d253
MD5 426f3117a544e20d6bef79d1bb3f3cd9
BLAKE2b-256 da8422799e6a761a84216894e0f786e3ccb45f4ae8f87fb62fadf19edb3dfb80

See more details on using hashes here.

File details

Details for the file capstone-5.0.0.post1-py3-none-manylinux1_i686.manylinux_2_5_i686.whl.

File metadata

File hashes

Hashes for capstone-5.0.0.post1-py3-none-manylinux1_i686.manylinux_2_5_i686.whl
Algorithm Hash digest
SHA256 64d9b93425ca4d5d2136ce8d421591ddf6c2af6ea37f542016530018d1fa7ada
MD5 0d0bc41b25cac2cc240e4d700667ed8a
BLAKE2b-256 b0951b19d2e8b5d21ffeed8c4b14cde4d0b98e0540e0d258408b533a85527677

See more details on using hashes here.

File details

Details for the file capstone-5.0.0.post1-py3-none-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for capstone-5.0.0.post1-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 7993fee5e069dae052ea6392fcab5d06c68e14dab8a755c686bd2077fbc73982
MD5 fb9f7b7ad9adc7e551fae06b451a651b
BLAKE2b-256 8733e69a263007e1785a95a82f192c701f2e30b087ec891613e2dcd2dc8a4224

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