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

Uploaded CPython 3.14tWindows ARM64

capstone-6.0.0a10-cp314-cp314t-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.14tWindows x86-64

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

Uploaded CPython 3.14tWindows x86

capstone-6.0.0a10-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.0a10-cp314-cp314t-musllinux_1_2_i686.whl (2.5 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ i686

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 11.0+ ARM64

capstone-6.0.0a10-cp314-cp314t-macosx_10_15_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.14tmacOS 10.15+ x86-64

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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+Windows x86

capstone-6.0.0a10-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.0a10-cp38-abi3-musllinux_1_2_i686.whl (2.5 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ i686

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

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

File metadata

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

File hashes

Hashes for capstone-6.0.0a10.tar.gz
Algorithm Hash digest
SHA256 7df0fac8c181fccc32f55c52de164bbac4e7beebf61a5df32dcf7c2588a66f5f
MD5 710c141fd897e7aab2bb82ef2c0e1bcd
BLAKE2b-256 c5b7f355a6060e29c76319400bf5f808fe5d6f63c07092c0ada1c8e51e5f5185

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 0d72e992b2bd4805e72cf04ce573ab140cd8b9b18a151d8ebd1dd51d6f5a77b1
MD5 c1b4299fca689b5156a7629f5b3218de
BLAKE2b-256 ce78d2bdba32051c8b80f2323ad5c18942af3ba9e4fcdf93c3cc04d7fc5fb71e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 c4feb509190fcf0448fc7387423d4a634fead486c12621b10ea49e11de16fafa
MD5 87f5d2085edb7680f7f95299b1697972
BLAKE2b-256 94ab1a95965109c6aae91d11f4cf59d35c0e366be0014fd8d311840209a731e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a10-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.14

File hashes

Hashes for capstone-6.0.0a10-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 854b118c28e5c52a1b1a7125d207d4001b5e18e3864bb1de15333afd472e308b
MD5 e66b149636a715c797c10f571ccbe9d9
BLAKE2b-256 a95e01a70e09724231a59153363d6e9f18383da3ba65e71aba663a2b14a220fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1a68cd37c26c96ff7c008f0062ea4f42c92a75808ec58ec33a26470b5469ac09
MD5 9437c1c5b22e79bfd96026720df6854f
BLAKE2b-256 3631ec2bcce27c94f0cc7e2799d9ee16741f2b75fb6a1dab85cbc8f399ca5ca4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp314-cp314t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 8974735ea0f1bbd22d4a2296446820be33f19b0650d24c8929914ccd85c6c724
MD5 8c1bdbfd02f49f45f416d956aa3a778f
BLAKE2b-256 727c64b06048b498155e737469e624bb6de86ab91e30e3d635055e784b5456e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 095dd14a29927d1b0aaa0cce71c32f5b220a0629793c090e6270742074c35cae
MD5 f33de2e6c1413edd2c8234d77a3e6cc4
BLAKE2b-256 7bb810745a7064bba546cdf6ac6fb8cb3a73aa7d53d75bf3f8852526e3fd00b4

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a10-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.0a10-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 56af21c4e1c45ac1304428737c04f267741855e731836ad36abd0acb1e39b063
MD5 ba7ec3840b1ac9ee9527b09459c93aef
BLAKE2b-256 3ee29c21493d9a4d110bc26885dc182b22e7c140faff9cf9fde5e3d2f8a8804c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 42983381ea242bcf402b897c3cc90cb2aa3dbc08bdd22ddde19c318b559f03d7
MD5 ec7ffb114c4dce0f0c84f21c00476ae6
BLAKE2b-256 368db323ab69cad6430565cb5801589ea45bd9377c15b719eaf7dc7d58f81fbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
Algorithm Hash digest
SHA256 173de7606c063e401180ba658da5eda4dc14c423aa701e5cef3c144bb624545a
MD5 fd507719d33c49e59a934a2e4e140eb2
BLAKE2b-256 b14ce19ac8ba5aeabccb97972ff5d7ae321619c1866566b932a9422947126a81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b4aa0d16c341e96c9a62e56ac053642dba628c33b4899c5bb94f231672cdedd1
MD5 74f1fb3d50166de71b6b90592840a6e8
BLAKE2b-256 912199dc2f6825f5883eacfd86535d49761a27c3309c0537c7d13152baa0f2e6

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a10-cp314-cp314t-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp314-cp314t-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a5501f66ce628f2433b8ff74101bfdd1a0b40ce7df5b81efe51acf9369b09cdf
MD5 7df2c8b0efbb364e49434c916972af95
BLAKE2b-256 43af9cac04f27ce2f8c684e3dd5fe9a47e1ac5e27891f598d171e260cdc36e2c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a10-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.14

File hashes

Hashes for capstone-6.0.0a10-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 10f3138c6c2276e19eeb0a5216ede9166b9d3d35cdf1cb9e629f4abf4f1f0b50
MD5 424d030e99bfe492c9909327dffd9d0d
BLAKE2b-256 a51d8522e9c2582535bec6345d36ed8744a5e2243aa221d5f72d1b55aebeb367

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a10-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.14

File hashes

Hashes for capstone-6.0.0a10-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7e4f14c868aa11e7fdd39f7fd65d02446c1a7bf0c6be2e5e79bd196a9b86cbcd
MD5 45adbfe132b129fdb2bd6997ad2ac71b
BLAKE2b-256 10ff216e6d21d6a297417d085fd8aa1689550d891c342a579af70ee6a12d7f07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a10-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.14

File hashes

Hashes for capstone-6.0.0a10-cp38-abi3-win32.whl
Algorithm Hash digest
SHA256 a3ec0a4f7a308252a029469991be6d4a45f74348efbd38ea17467f6bcde501ad
MD5 1f0e205c865d9149613ff34a3b538063
BLAKE2b-256 d0d3fdebfb1db68f663d78991cc57cfa34c9a698d09fb7f865f7a046a4962ee1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 14e51ba63ac620f16dfbc833e947304af1f417092520179e807136810a38f10a
MD5 6dab9d15e34e7e76dacafaba6b0e8d79
BLAKE2b-256 dd31f4f68e05b64452dd8b9913cda91d735dd16c6a4a3d269175f75ff33a26ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp38-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 7dc4f51ba9df5e4e40f4c73cfe47f3d143e04dc6e4b3a49de02f5623cbc905a7
MD5 17c7473888a5862e63348d6a5e6c3652
BLAKE2b-256 19ea3fdf29f2c0e32a57f463c2a52704e22f233fd8473709878ddb33b3d3d97e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 81540dfa512b5ce45a159265494d284846f69a19f649e703f9c234366b0ca2ee
MD5 5d6290ba39e7fec69a691b4e7c01dd0b
BLAKE2b-256 bd3f537ac7aae5132930b8802a6eee75e9c1944b1d739c7df46b5376e6bd8344

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a10-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.0a10-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1aaf1545dc8a909273d4f372546b8b85231f868944e65e7d728bba450469e4a5
MD5 c176822a2c0407d30d7d72f408d447b0
BLAKE2b-256 97615a9fabf5ee6596fe04b0bcf98d1422bba2cd7c33ebabce06a41c7f25008f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 940465a0fea9d405ffbc670a9ddc296cbb28894568a206187e9589946e62b3c8
MD5 17a906eb442d3ab39c326fdfc8c9554d
BLAKE2b-256 6d425888d6ce7ab43188f5209157df89d725f12bf03a6414cedda270931ef478

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp38-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
Algorithm Hash digest
SHA256 9ef3f737887b865c20ef45f679272587405be7841725ca9b432edcbd0eaea5ca
MD5 0fdcbc7278e1207dd90b78c3b062a311
BLAKE2b-256 8c553d68d9b2900fe2aaa211f1a5bf41c350cf3299527bc26c90fc29917abad7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8176aeb63553867088411f7158e188567cc8eec1639a826a8e0b6e8ad8ceb151
MD5 1484bdf359f9f3e9bdc06842d39703e7
BLAKE2b-256 d17982e8c66be36fa4dbd9d87e5603f801b3f89eb525a2deb2e7db2300223e09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a10-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b8590b4c9e06056b5f9267309a16f061eb65e60cceee715247da810e41eeebf9
MD5 82280da742fd6f9a419f1b447a9ee346
BLAKE2b-256 f731859644372e10ec47bf70510668b7d8e7fbe7325f52cf3dc4ed6c9e1a3a8b

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