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.0a7.tar.gz (5.7 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.0a7-cp314-cp314t-win_arm64.whl (2.5 MB view details)

Uploaded CPython 3.14tWindows ARM64

capstone-6.0.0a7-cp314-cp314t-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.14tWindows x86-64

capstone-6.0.0a7-cp314-cp314t-win32.whl (2.5 MB view details)

Uploaded CPython 3.14tWindows x86

capstone-6.0.0a7-cp314-cp314t-musllinux_1_2_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

capstone-6.0.0a7-cp314-cp314t-musllinux_1_2_i686.whl (2.5 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ i686

capstone-6.0.0a7-cp314-cp314t-musllinux_1_2_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

capstone-6.0.0a7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

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

capstone-6.0.0a7-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (2.5 MB view details)

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

capstone-6.0.0a7-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl (2.5 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ i686manylinux: glibc 2.5+ i686

capstone-6.0.0a7-cp314-cp314t-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

capstone-6.0.0a7-cp314-cp314t-macosx_10_13_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.14tmacOS 10.13+ x86-64

capstone-6.0.0a7-cp38-abi3-win_arm64.whl (2.4 MB view details)

Uploaded CPython 3.8+Windows ARM64

capstone-6.0.0a7-cp38-abi3-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.8+Windows x86-64

capstone-6.0.0a7-cp38-abi3-win32.whl (2.4 MB view details)

Uploaded CPython 3.8+Windows x86

capstone-6.0.0a7-cp38-abi3-musllinux_1_2_x86_64.whl (2.5 MB view details)

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

capstone-6.0.0a7-cp38-abi3-musllinux_1_2_i686.whl (2.5 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ i686

capstone-6.0.0a7-cp38-abi3-musllinux_1_2_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

capstone-6.0.0a7-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

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

capstone-6.0.0a7-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (2.5 MB view details)

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

capstone-6.0.0a7-cp38-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl (2.5 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ i686manylinux: glibc 2.5+ i686

capstone-6.0.0a7-cp38-abi3-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

capstone-6.0.0a7-cp38-abi3-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8+macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: capstone-6.0.0a7.tar.gz
  • Upload date:
  • Size: 5.7 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.0a7.tar.gz
Algorithm Hash digest
SHA256 26732de7f17c5d47aa0a5e2d943ad4c307186af277109213684b6ab8e0be5dd3
MD5 64ad0306e4972e87d67fc9b108f2a2fc
BLAKE2b-256 7e1cf209b80aa02faf5000d6db935364fdc5dcacca1d5dce446b0a4b88fe0f7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 d1616f0c4fe2185f4ae1b08fa925a34891c19ed3b44336f6738f5fc3b7098a29
MD5 9c6debfa5d16731b61e12b4042373caf
BLAKE2b-256 416a97caca49e2fbc7a0022714679ff5ec02ca26062b6e997f6852a0a4acece4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 a2e60bd3f3247e518d14f9eb5657a61239caf1dc82a70e04c55395ed8ae709de
MD5 2f7641b1935781fb3cc6701d8cf1da15
BLAKE2b-256 61548a49cd8dc027a362b40c0fc39a3df947db14f466722f59bd1743a7ce4303

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a7-cp314-cp314t-win32.whl.

File metadata

  • Download URL: capstone-6.0.0a7-cp314-cp314t-win32.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.14t, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for capstone-6.0.0a7-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 d49fb5dc87bedee2651d881d4bb9e4d1ea1216ea675a34e5e86531cb3f69ab63
MD5 68cfa337c363164888942e98ba1f0d73
BLAKE2b-256 3f5664316632d24125f536ecf208eb327f3a7697234e9a873ac23fb5750b00c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fadbfd4a6476a6bd828060abc026c90c367a98871a2b04ef9c5c5e4246383565
MD5 2b71d3d524acb32e2267ecb8644da1ee
BLAKE2b-256 776c33fe489149e052d4cf2757ae4e9b1df80f74a50086859a12b9b4554a2137

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a7-cp314-cp314t-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp314-cp314t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 b6e0bb2539eeb12dac39693bc3ba4b37ea7a464574025db662be60e5c790f87f
MD5 b10febfdb1ac11a1b62277a22fcdce5f
BLAKE2b-256 d220910ac9c78b44b9f0824288669153bc1bfeac1cb69d7e5d07b2430317aa4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1590c406b793e03efca4058b9176c904c6831103be4a6a2c17e3bbcde770e8f5
MD5 63f7f2315f218a512ea2756dee9b72d8
BLAKE2b-256 42fdff5d3d0ad155676b467eecd105b9c346c076c77fa7584edc3e086a0af11c

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a7-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.0a7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1fb5c48ac07bcd62d528f98892dcc9c4332d3f82c8428194c3507fd944444327
MD5 42fa44b8e1ffc4ac8159f3a8779eb054
BLAKE2b-256 c3058169d19ef9495cb537cd8c9e5133397235f0b152e57544683341872f3c54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4844c50d935ccc56e126662b69c5aa0d562e3244fa445721a88533c53667132e
MD5 4a0d74fadd0f0b45819cc0dfaa8fde77
BLAKE2b-256 7e58da12ce0ac915714c1e1d54ede1d26a53a1049fb6e5704221c3b768d27b74

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a7-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
Algorithm Hash digest
SHA256 7c021464ec00c8cc0fb1a785ae8eb04ff99d0ed9ec34ce4273f5074ba74b9cf3
MD5 a8b1208b7fc73265e06a8b41a70282dd
BLAKE2b-256 833d6e785f7946547ae606bb5ee827013c479eae1a6b9f7d0dfc6ea695f4b9b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 56937e47d18122df21b2b1ea99458f8ac9dff7ac9c63705f789255e1146b04e9
MD5 f317b68c8dded82ef6e1ddb4a56b2035
BLAKE2b-256 970532aefc747f62337f5f5040646c34c299a26ef897c943fef3fd87ba1cd979

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp314-cp314t-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 3d49f0748868ae23cfff4f67752abeb9fe79daf98f04ef2925118240883b1303
MD5 759d4f0c4a2ecdd23973ec79f5bcfff6
BLAKE2b-256 0a08c0efa64a625a8ac43be0c4eb754c4bba9a6eaade31c1e659498ebbfe9047

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a7-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 2.4 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.0a7-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ae3724da1e1ebc947469cef3444109d88c0c0f57e63786159d6e603f4d781660
MD5 d1b88b2c76e37648bf5484791c6b813a
BLAKE2b-256 3f3c7d65171ef07881d33f5981a4e629b10093fa1f7fd41d28fed8e03a8224b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a7-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 2.5 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.0a7-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e34c960e4bca5750b5a5c1bee65f8eaeb7df3b667060df1e50735f64e598e596
MD5 eb707dece23829fa7db67d32e695ebb0
BLAKE2b-256 8f56b027e2e084530d672171a84b4f0236667563ef565ff2cf30a8d9b77002f1

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a7-cp38-abi3-win32.whl.

File metadata

  • Download URL: capstone-6.0.0a7-cp38-abi3-win32.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.8+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for capstone-6.0.0a7-cp38-abi3-win32.whl
Algorithm Hash digest
SHA256 64d82dfd669c81cec9d87bba78a0f58c64532a5c2626098899c1e2ec5f56f2c2
MD5 d5b63ecb4e35f205858ea3f5b13dcc4e
BLAKE2b-256 9607aa86d13f37d2870415117c7c9838efef5d81d9f8c85eef092b07ddb7e868

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 eeeab76b4e08824f64fbd77c24678458a9288d36f8074c73f375157aa9243ae8
MD5 fc585c356f80a4201d7806419a19da0a
BLAKE2b-256 abbd04b4c416272fdf68d31adaccc74c7adca245a3b39d304d8483cb726edb03

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a7-cp38-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp38-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 f840420cf22e2c416a3aecdb8cdbfcda88e9a4d5260b068f1f6cf6e345d3b6d6
MD5 4f73dade37e7e62644deb0c17b78afa6
BLAKE2b-256 e592f2ebcc24d2be4a1f8094fad0c005770156d9076d99308c9348089e2c0740

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f6f585d4ce3fd8756d141a41ae52b4bc252e303f2d1e744a717e3f8f6e9fec52
MD5 f212613c0bd29f9880c1c108425ef434
BLAKE2b-256 ade09cd34d1831117ec993ab840c3d64a01f58ad1e3884636caef7fd2a95b049

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a7-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.0a7-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 628fbb6426ccd9971cd3f5e3846de11ef77b540efcbdcf79c9429bb7403a882f
MD5 4b39252a1bca6516f63bc3b3a555fb8e
BLAKE2b-256 8fc50b0333f10ac7a5237edb9f45adfa2796b153eba1d85026c4ea8772c584f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 420b4aa5b292606570ad92995e90003499b0518a50727aed30d1da77b3fa7ad9
MD5 a08827152db4dffae2df980532235d73
BLAKE2b-256 dbd6964c618823008c4356474ca7d5b00daf5cb4016abd9d54060f652c4c8bbe

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a7-cp38-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp38-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
Algorithm Hash digest
SHA256 09e15d788be1f012ec05354eb94c8e9ea35040f610c6b6c154a06c12647372f1
MD5 44c6f3aa494f0dc864bf2ffbc9119f58
BLAKE2b-256 7f8c93b41072e9679ad8d00b3953dbf6eb3e03b1af8c5789e183867597f700d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9ceb240fb4ae2b3650d9ddd55b968fbf96345aac47eca547f25b25d28b25c6bd
MD5 a28f2a35bdf42e1f39920dbb0f8df259
BLAKE2b-256 27d4a2c3dbbbcdf2f30b1fc157528468af01c7c0c73c09b56a7ce1382695edd2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a7-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 674dd7ccbcbe1a20cc5cc17c394850388792e5ac8357277018445ee3a72998d2
MD5 b764609627b3edf90c8702132e9ccac4
BLAKE2b-256 680a88f789126138cb2ff3e18d3c1eaa2d4c1fd3c117102b788fa045ec330cd7

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