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

Uploaded CPython 3.14tWindows ARM64

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

Uploaded CPython 3.14tWindows x86-64

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

Uploaded CPython 3.14tWindows x86

capstone-6.0.0a9-cp314-cp314t-musllinux_1_2_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ i686

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

capstone-6.0.0a9-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

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

capstone-6.0.0a9-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.0a9-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.0a9-cp314-cp314t-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

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

Uploaded CPython 3.14tmacOS 10.13+ x86-64

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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+Windows x86

capstone-6.0.0a9-cp38-abi3-musllinux_1_2_x86_64.whl (2.6 MB view details)

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

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

Uploaded CPython 3.8+musllinux: musl 1.2+ i686

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

capstone-6.0.0a9-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

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

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

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

File metadata

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

File hashes

Hashes for capstone-6.0.0a9.tar.gz
Algorithm Hash digest
SHA256 c34b1e284c17926cc269a815a6ead8ca1fc32e9cd93f56386fae1162a7e8690b
MD5 899d3713d0289b791cb3c8ab3d86f5dc
BLAKE2b-256 04a5ab8e7ac71b59b4846253fb6c9096a954a6dca74b8edbe5b25a6b4607ba91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 67e9576c0beb3b3d2e4491b3c6bea7a127d8c802a2b1d9230c1730846237aff1
MD5 8dd31d5bebad1cb55c6a962ef2fffda9
BLAKE2b-256 118dde3b6fd9c854db6c2f00cfa1f64d9eac612b36bbc0e3eeb56f4b55872012

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 8dd0262669e499bef2ef3564768433cbf9d686f4af51ce9b7973ed97a85d6603
MD5 9dd5adcc527bcfdf6b0ebb14cf76dab5
BLAKE2b-256 26b5c4245440212d753b9a6c2ade3f5793bd85704cc403989a96125434ca35d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a9-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.12

File hashes

Hashes for capstone-6.0.0a9-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 824b3428d56a793efc95bb20db2ff2014bf07b921a71d8e479860ac18a948704
MD5 e7217ef0bb786b6027f05debc61498a6
BLAKE2b-256 f9dd19feb891307cb9ba65f11e5e05b54738680899fbec87eaa6734a1d653e55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6e9303441c1208167b7a469771f4d7beab7c6f8f1b21b74b7921bbcef8be71f3
MD5 8c9a8ce3950fa50b52d82377e21642de
BLAKE2b-256 9dd0cd8e2557e5e487cc09bace8928aa21be3fe379f8501094063392c2972b47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp314-cp314t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 ae28077c211a6d0d753f31a99fc58029f5d0b000939dcad2708f66374406b618
MD5 00a8e839d5fb867b324a810607631c6d
BLAKE2b-256 5561005980e3512f9886a53c8e062c36055b907ace4b8e64c8552df804d8473b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 476149597dc1858e0f59db05c34688db0c918936ad5c9dc95c333a036ef317e0
MD5 8dadc2e39dab3f61cb3b8a61aafa7d3a
BLAKE2b-256 817861860623e88cb14b60b047024c9923e553e8775d4a76759114c724a64bdf

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a9-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.0a9-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 13618f61d7e755daa60869defeecf97180865b1ecccd2217f77c771301d5beb8
MD5 ce8a2b323c670033f8d33019eba4debf
BLAKE2b-256 652be3361b6bc7177c0b0ff70d27477a6734f5ed21832a450b9aed3a3281c408

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f418f179695f8143007a6e12f5f5f6171301850367b951b36f2190e65649a60b
MD5 adfa83c33bf71cc59ec3a16df7563140
BLAKE2b-256 0fc0e0a3514415427f0798bfe3a80408c9040502741da5288e5aa83916de221d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
Algorithm Hash digest
SHA256 3c1379e6d64e6d5666f1e59d6d903981365ff0b14ca6120d284f89b9b62402f4
MD5 976ae2743c7c0764e2a43b958042da88
BLAKE2b-256 cce2f82d9237e8e52e82655669eb0e94dca8e5e885945a10e91ee9efeec0d2ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e8dce415326a5d7b35b77ba22cd852d1840abc2c4004cc6e4e1614fecf6241b5
MD5 8c39e7e2f8d94b9ecbe9e42b70872ce2
BLAKE2b-256 b40ff33ad90f732644b4e7f8be30de0fa3b2612ab1f3cb0dd2fd538e756cfd3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp314-cp314t-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 93c2057ba5739abbaf713ce4f2145bd5fd7a194315624af55caa8fefcd1c1314
MD5 31e0f500010bdc137e0177012ed7e74b
BLAKE2b-256 00de9b8879253122a6754128f6ceb0e381bea6a5942c27b8cb5dc8e0ee97988b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a9-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.12

File hashes

Hashes for capstone-6.0.0a9-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f9440de1e34fb6b0cb35864eba60bc35a8ae8b876f837caf6c8c452e653f8275
MD5 19d0aa66b8a9ed5afe913c23f952a56f
BLAKE2b-256 12b77be86e5e96de92618d1e87e9281fe96dc822d41168355fa8ff4105abdb9a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a9-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.12

File hashes

Hashes for capstone-6.0.0a9-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ae5620dd4d5f3a07f4b22e8088761c14c9d800a1532d6e65b7a4b20a67faa15f
MD5 f1ea40ac2fb1b7fafd802ce1c850c5ca
BLAKE2b-256 3bed75694eb2f74651a2889301012aa81ec241cb809838885c91acd11be00dd6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a9-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.12

File hashes

Hashes for capstone-6.0.0a9-cp38-abi3-win32.whl
Algorithm Hash digest
SHA256 3179417413f888232571686b84470cf640806d8cbaec6d37de7c3b063de12168
MD5 57718347916c16749830e7a5e19d987c
BLAKE2b-256 2e66d51f9aa38399d0b910cdccde5aa3e80369e34933ce5d8e3e3175478757f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 73987c67ff8e71a87eebce1a2bb7480878d2e7a6c7e66ada0667f59c2f3299f2
MD5 f3654db354cd1b01359c7a3368513fb2
BLAKE2b-256 7427a30f94e959b25c105a652e3aef8f03891841e995b5aee75761f92f538146

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp38-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 78675e26f7d4cd16d35786532dd672a400ca9e4069738b5f0b6dc336d218c626
MD5 f09979e609b0aadabb04754ad72567c6
BLAKE2b-256 32e0b399f276172b9dfcd79f5597a30d8f40489bedf75e711153f2ea96cf1195

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 53329758eed713134099f35f0943ea36ab57914f03950ef06e966e78713d285d
MD5 eff2335f9e66723e927f4325c8d67df8
BLAKE2b-256 6248fffe5c963c91cf1ef1682532c373ccc6c983cca63408864e3134d3930100

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a9-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.0a9-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1ebeee020ca876b16b679272a4005b63c29d0d834cc7da4da840cb0f27e1e3ff
MD5 7197a2085d0fc9939b5df89c2dfb69a9
BLAKE2b-256 2ca0925fcfeb6bbc3849d144406bb1f7a318e87d3a8b11935db5bb253a903c0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dbcc908367dd6134989e8b67a4aa36863fde505408bc336ec074626dd7ba21f7
MD5 f35712eb736733554993f22e78a6b088
BLAKE2b-256 c1cd1401cc0404bdc61bb50667eab89ee9cf8385895a6eb0b43fdf214132c8e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp38-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
Algorithm Hash digest
SHA256 7ab414f06e0d87ddde498f37404b0722151e4e45684cfaed786209a42adc48eb
MD5 e035515d0fe25f76650fb647eb8c41db
BLAKE2b-256 04c8cdef0ddc08933ba488a5a2a78ebb9edb469d42e4dcdf606747f5eba227f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9d0ed6016fb504a2a44d63ffd9000a3a6953bc4d3738283fce0bf66ce1be871a
MD5 73dfb2f7140b7de05f042739f5aea33f
BLAKE2b-256 f71aef30bbc066243eb8f90a897651360acc331572648dfc31cb5d63d285fb4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a9-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4aeca7a17c0281fc88169f2cb34f62f3250bcc8f6c776104ac89a391b45835cb
MD5 cf2cee18210b2c43561d8c6a81e9b72a
BLAKE2b-256 26d1a71954dfcef4da3fa09ebff51c4a24e545107c96fcdc1655622502f385ed

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