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.

Release files for capstone 5.0.9

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.9
File Size Uploaded
capstone-5.0.9.tar.gz 2.9 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for capstone 5.0.9
File
capstone-5.0.9-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
capstone-5.0.9-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
capstone-5.0.9-py3-none-musllinux_1_2_i686.whl Python 3 none Linux musl 1.2+ x86-32 Details
capstone-5.0.9-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
capstone-5.0.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
capstone-5.0.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
capstone-5.0.9-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.9-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
capstone-5.0.9-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details
capstone-5.0.9-py3-none-macosx_10_9_universal2.whl Python 3 none macOS 10.9+ universal2 (ARM64, x86-64) Details

Total release size: 17.7 MB

Release files / capstone-5.0.9.tar.gz

Download URL capstone-5.0.9.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
0429af292ddc604d3c9344696807e281d5e728db029f00e6a4ea9e3bff1aac9e
BLAKE2b-256 checksum
How to use checksums
39016516910f546fbb996068207b9dd0229b14bc8dae223114d5e0e27d3cad11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL capstone-5.0.9-py3-none-win_amd64.whl
Size 1.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
732cedbbb56d42e723f14d7af6387f1454194a820b4b96b56d1e53f865ef85d0
BLAKE2b-256 checksum
How to use checksums
50e66f06fdb6a9ed32b2f7cd9c036b92d5324112c3ef7080f2c71efc367d40dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL capstone-5.0.9-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
cfec34e6e01472fe60850c87c5bea9918c274fa2a605b510e6489bf87c0c9960
BLAKE2b-256 checksum
How to use checksums
09a139a575aa27a35b43b0ad93065a1803dba39038060eccfb29031d82e3fb2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL capstone-5.0.9-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
0cc3b1ec319ab0530efc6b181491b77dd3373c81b6dbcf2f05a80e3d8dd61d5e
BLAKE2b-256 checksum
How to use checksums
7bf33865a0371603994f8bf521595b3072080bfe1b715f8bd080988d026dd2a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL capstone-5.0.9-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
69064219c814ad64af35469a7c4ddd19b730cacb96a1a796435ccde0e1567d05
BLAKE2b-256 checksum
How to use checksums
b974c178ac241892bb3668b633065bdbe6dc719c2aa54668d68a8e23a6753525
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL capstone-5.0.9-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
273fd8d747d2e35c88f91450be51a603ecfaafb00d96d9f315dcb8689c86193e
BLAKE2b-256 checksum
How to use checksums
d13917747862222bb062e86b501f1f148d5ff589b77908b080d30f7f085cbfb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL capstone-5.0.9-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
41772ad0c71aa5d3e97d541e802593c2e71fb94ac7e20d4202f97ce2a3eb8ed5
BLAKE2b-256 checksum
How to use checksums
45d9dbeadb9fcd461e608ce79b1cb647fed6baa812fa6e1c68b0ba5ef81291af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL capstone-5.0.9-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
1f5871b57e987d5bf23b531fbe868211b74ad750fa9b830a3d3cdc4956bc0ae3
BLAKE2b-256 checksum
How to use checksums
12569a694f60f5b26612039d975c1c84d2ad8fd0ad839b0b1058dbe68dd32b0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL capstone-5.0.9-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
fc269c5082e17d7f9f265cd6980e2fdc6ab572df913951d76db0357e06b8001d
BLAKE2b-256 checksum
How to use checksums
429a4eecfbc94961cda70301fd13de69042be1943bee456e37bc1369840601b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL capstone-5.0.9-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
8c4a1d7134d7d5290e5d77066500385f2c7a4bf66835ccbfde5180042d508b3c
BLAKE2b-256 checksum
How to use checksums
7074d00de02c62ce864c6b43796c524516ea064e3e6fc1327d452f78270e8323
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL capstone-5.0.9-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
58a874d9a6cb15122135b1385a782e5b54c8a4d9396161b6498465046d2e0442
BLAKE2b-256 checksum
How to use checksums
daf343f4dbfc36c7740d512621a9d42b276ac21bb6ca7cb974d4c8a19060d387
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

5.0.9 This release

11 release files

5.0.8

11 release files

5.0.6

11 release files

5.0.5

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