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.

Metadata

Release files for capstone 5.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for capstone 5.0.5
File Size Uploaded
capstone-5.0.5.tar.gz 2.9 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for capstone 5.0.5
File
capstone-5.0.5-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
capstone-5.0.5-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
capstone-5.0.5-py3-none-musllinux_1_2_i686.whl Python 3 none Linux musl 1.2+ x86-32 Details
capstone-5.0.5-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
capstone-5.0.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
capstone-5.0.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
capstone-5.0.5-py3-none-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl Python 3 none Linux glibc 2.5+ x86-32, Linux glibc 2.17+ x86-32 Details
capstone-5.0.5-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
capstone-5.0.5-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details
capstone-5.0.5-py3-none-macosx_10_9_universal2.whl Python 3 none macOS 10.9+ universal2 (ARM64, x86-64) Details

Total release size: 17.6 MB

Release files / capstone-5.0.5.tar.gz

Download URL capstone-5.0.5.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
32346f6019d5351adaaf584ffc60c1e40db6b47d1d049eb924f903eb2b073e87
BLAKE2b-256 checksum
How to use checksums
a423759da7f13c2ce29ffe90ccb45eb61ffcd310b436bfb489f3dbd11fba8776
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / capstone-5.0.5-py3-none-win_amd64.whl

Download URL capstone-5.0.5-py3-none-win_amd64.whl
Size 1.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
a03b6b42b33bb0739b2436a555e699ac91cd1d1891134269b04e359b607e50e8
BLAKE2b-256 checksum
How to use checksums
fd77be4185108d31137e8bb536d6dc3a9222dbc15bd1e84787a3bdec9108fcb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / capstone-5.0.5-py3-none-musllinux_1_2_x86_64.whl

Download URL capstone-5.0.5-py3-none-musllinux_1_2_x86_64.whl
Size 1.5 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
89dac65a1c84670ee30ccaf2ae688c4b27ad514d9dc8738a9826579051e29ecb
BLAKE2b-256 checksum
How to use checksums
65086a65de9ab23ce726b680c0e75a064406d4bd2738640fc47a2a6aa679f1d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / capstone-5.0.5-py3-none-musllinux_1_2_i686.whl

Download URL capstone-5.0.5-py3-none-musllinux_1_2_i686.whl
Size 1.5 MB
Tags Linux musl 1.2+ x86-32 Python 3
SHA-256 checksum
How to use checksums
cd35b666739d7b79066fc69fd0c145d5ceb6a4131df3db1225ec6dcfa3fe322f
BLAKE2b-256 checksum
How to use checksums
fda29fe3a14bb6c397d072ca8332b93b7b63c57bb9c0361c8fa3a8260efd5d90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / capstone-5.0.5-py3-none-musllinux_1_2_aarch64.whl

Download URL capstone-5.0.5-py3-none-musllinux_1_2_aarch64.whl
Size 1.5 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
50b646f0c56b0cac5c993dde08b5e5eacf8b1f66031ec8d60154eae6e3c0645e
BLAKE2b-256 checksum
How to use checksums
458b9ad9a8c337d2276b25d71aabc6096243a57246bb9f16431f52c25fa70597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / capstone-5.0.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL capstone-5.0.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.5 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
754968f057d9e5d9c383f2918a1d56d455bfb274bbf307f219180b16e6d5aaeb
BLAKE2b-256 checksum
How to use checksums
9bb405263fe61b2a8d8211783f911283d1bd296d74bbbd6e9a1e48f6dadb76c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / capstone-5.0.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL capstone-5.0.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.5 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
6ef47da78f44de1cdff1519b360186681fca0097e92046a7d7203d56364f99da
BLAKE2b-256 checksum
How to use checksums
fb42a68064f021d55be5079c21da963f3347d0979476da268b61cb80a7527229
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / capstone-5.0.5-py3-none-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl

Download URL capstone-5.0.5-py3-none-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Size 1.5 MB
Tags Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32 Python 3
SHA-256 checksum
How to use checksums
933797f7e2a257a77c3a699316deea92efa120a10d41e22725a96fc82f0a769e
BLAKE2b-256 checksum
How to use checksums
677b4c21ee2001b110182326dd10b30f1a6f2c9227e28e9714145e473d397de8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / capstone-5.0.5-py3-none-macosx_11_0_arm64.whl

Download URL capstone-5.0.5-py3-none-macosx_11_0_arm64.whl
Size 1.2 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5416621ac2d243d89b788f1309b143ea1f400da3eb5c47c6a87f1add99732a83
BLAKE2b-256 checksum
How to use checksums
1a5be7ee66ebec55da1e0ea841de62ba5e971fb8fe7b12a49215fdaa15d1b9f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / capstone-5.0.5-py3-none-macosx_10_9_x86_64.whl

Download URL capstone-5.0.5-py3-none-macosx_10_9_x86_64.whl
Size 1.2 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
15f4b85df176999bbf7eb3f53f0cf2cee728254600c1be21442e2581189309e9
BLAKE2b-256 checksum
How to use checksums
2fccc7e6a8fef919b28fbfe8a5c8955b40bbe998f84f791699246d7e70f5cdb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / capstone-5.0.5-py3-none-macosx_10_9_universal2.whl

Download URL capstone-5.0.5-py3-none-macosx_10_9_universal2.whl
Size 2.2 MB
Tags Python 3 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
24db89d74b571659fe6212e756795cd5d394378c50e19e41dbcfb6c087c2f87d
BLAKE2b-256 checksum
How to use checksums
544a4eb99fa4daf4d3035cfd52790b2ae67810e5663f71797ee5025977464c13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

5.0.9

11 release files

5.0.8

11 release files

5.0.6

11 release files

This release

5.0.5 This release

11 release files

5.0.4

11 release files

5.0.3

11 release files

5.0.2

12 release files

5.0.1

8 release files

5.0.0

9 release files

4.0.2

5 release files

4.0.1

5 release files

4.0.0

5 release files

3.0.5

5 release files

3.0.4

1 release file

3.0.3

1 release file

3.0.2

1 release file

3.0.1

1 release file

3.0

1 release file

2.1

1 release file

2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page