Skip to main content

Capstone disassembly engine

Project description

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.

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

capstone-6.0.0a6.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.0a6-cp314-cp314t-win_arm64.whl (2.3 MB view details)

Uploaded CPython 3.14tWindows ARM64

capstone-6.0.0a6-cp314-cp314t-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.14tWindows x86-64

capstone-6.0.0a6-cp314-cp314t-musllinux_1_2_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

capstone-6.0.0a6-cp314-cp314t-musllinux_1_2_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

capstone-6.0.0a6-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

capstone-6.0.0a6-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

capstone-6.0.0a6-cp314-cp314t-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

capstone-6.0.0a6-cp314-cp314t-macosx_10_13_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.14tmacOS 10.13+ x86-64

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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

capstone-6.0.0a6-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.0a6-cp38-abi3-musllinux_1_2_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

capstone-6.0.0a6-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.0a6-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.0a6-cp38-abi3-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

capstone-6.0.0a6-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.0a6.tar.gz.

File metadata

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

File hashes

Hashes for capstone-6.0.0a6.tar.gz
Algorithm Hash digest
SHA256 c5c2d3a6ca8568d156a44f763e7f5930d9c1c43b3db3a687ced01fd77e25dcbb
MD5 a35bcb87e040090fc60dacabf28f5c89
BLAKE2b-256 7ede936bf6f9c1cea84a56612b9ddef868ac074b50faaa9de57e83d73905600b

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a6-cp314-cp314t-win_arm64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a6-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 7d4ce016e88b059d60838c8ccc6a7fb43285bf36461dd8601f2b6d20e602d161
MD5 aced10b329eb6c863c0b6b7687476fef
BLAKE2b-256 5da2e513f5d9bb47ed85556e1e4076d7fbabcb35e910f98bc2685c78b991b9a0

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a6-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a6-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 658a34542e17b434a1685dd6aa5f4d9e6898d9664eea1d8380aed3899ff05ef1
MD5 dbc02220e77d27a48f0b96e6b9582b51
BLAKE2b-256 ea6aa47940cdedbad3f5779f73260fb7b923fdafe9c183f36c6b034278e7d1de

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a6-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a6-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 be3ac9213e011843759f8b9709b49fe8aa38ba61350f117a2b0e2c98402aec7f
MD5 ebb757b0eb23f210bb2d9013a45436b3
BLAKE2b-256 a55def3cfa381b7082cde0a3924631a16b89990859d7f0033c37bec239471cf2

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a6-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a6-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 33c95893262f873e4276a3518bbe19f20cec4af9aa306022a453e60f2cdba366
MD5 0f7fd6f3203ddb3d7d9d541cafb3ff3b
BLAKE2b-256 03d7c2307be86c1ac6fafbfb4de0b43d36935b7577e2b0d5bf96fcaf7d565a60

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a6-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a6-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 45d8857ac7bce8c8387e5a4c33150ad45e165cd7330913eeca6d55adba8d4cc6
MD5 d2c1b541f98c22626c93191654f7bf17
BLAKE2b-256 ce80b97866f8c4e10f875e4da12c5553740c03bb90e232db73c9657610168f75

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a6-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a6-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b7548bb5c1bbcc8fca34136c2142aee4eea6cc3e9084544c7878fa87350546cc
MD5 62317adacc38c7f5a54461e6c860d13c
BLAKE2b-256 1e5997d48bf3b68d1dbc50b736936d24c8f70ac3bfd7a81ee14bcba72d3a88e3

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a6-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a6-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 734845075e84ca9780f19da0df6abdfaedbdee050c965ad73895fa87fc04f1fc
MD5 3b4fdaff90c415f233074beb747d7883
BLAKE2b-256 b44e1e1f6b68714e879006cdd9b99cb7a03abc2540b0d3d6c20b70ce2e75b6fe

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a6-cp314-cp314t-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a6-cp314-cp314t-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 43998d259550d6ed21f3c78d4d4cebb7bb8c041f2c062c88bd9bd1a64c7b83fd
MD5 55143514677644f7c7a3cdf3f1637125
BLAKE2b-256 f15c39687b3ab960beeb61a6284661c33ccd8a56ac9e778ba8f8875766c8a822

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a6-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.13.7

File hashes

Hashes for capstone-6.0.0a6-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 af7c9e6361f5e5cad9f647ea5688dbeba50bcba6339121e3868ee8f63a06eecd
MD5 ec2859ce0ab5a9e3cbebae4083f065c5
BLAKE2b-256 ad05a46639b6cacc93c630b44784fbc3d5860fc10c70a94c949a04c171630474

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a6-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.13.7

File hashes

Hashes for capstone-6.0.0a6-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 cfdcfb2f92d1726f2b25c3d8a84ee433c9e1b5a7cb238393295950c920ab28d5
MD5 16ac5b39150505e839746a269385d384
BLAKE2b-256 126328177d24d25bbcf5fb9993d14b1c0a3b109646264d732a18ec960af8399e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a6-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 69d10adf1de51bfb76b43a139a8ae143e89533c96a839a93f6d9d60e7ecb1695
MD5 60cc7948858322ef82ced3af0a4a8efa
BLAKE2b-256 900ab144c505ff6c0b07d848ee7064303edece4f6e029860bc6d92560d3a500a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a6-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6f88f6a014033b2c4312a2049e969044e49df70a42e20191a43c12d620133e9d
MD5 8a3fce07a8e7d8e34e93a9f58afe45e0
BLAKE2b-256 e412badf35f8a5aecb9cac2196b333905ac3b3ad46aa7c10f6c8f3e849ef2dcd

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a6-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.0a6-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c2e0e6992c37dbdd0435675d0a5fdd97107d5ee7e6201b85dea7b54c83a320c2
MD5 04006b69c68051b537b9c4f371a77aa7
BLAKE2b-256 2efc7c2086498b156a0fe1ecb935f725933e472445002eba7ee2b43e75faf399

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a6-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e13c1f96a578f155c1e91887a21d80d6b9d9ad7b34edea48032a0338e3090e75
MD5 5b98ca569149cabfdff68e6d7d9653a7
BLAKE2b-256 519b84e7ce7a3f5662ed013964e8122b8aa9ba75f4312a6216efa7a0bb1525ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a6-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 21bc081b721819ca499b18ba57e23c51d51829187dd19db0649cb53f31e87deb
MD5 3735efb9e5d05664f04b32812e7b303a
BLAKE2b-256 e53c1e6c9f021df585db7ddf20dc0e47ca12a17e5ebdb4521271d5418629c97a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a6-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f1c9d38b03d4793f7a401defaa2b1b0162069a50b1a7c0d0665342cd2f0ea4a7
MD5 bd4fa683f5d4a5bb6d2d813e66c2a722
BLAKE2b-256 109939136865b1acd43b4c7d788c464d5dc1333036ed9c1a2c45323974c49875

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 Pingdom Monitoring Sentry Error logging StatusPage Status page