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

Uploaded CPython 3.14tWindows ARM64

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

Uploaded CPython 3.14tWindows x86-64

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

Uploaded CPython 3.14tWindows x86

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ i686

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 11.0+ ARM64

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

Uploaded CPython 3.14tmacOS 10.13+ x86-64

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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+Windows x86

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

Uploaded CPython 3.8+musllinux: musl 1.2+ i686

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

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

File metadata

  • Download URL: capstone-6.0.0a8.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.0a8.tar.gz
Algorithm Hash digest
SHA256 177984419e035c7996c3cc6758fde8f7ca839f9267c7f49e2366cb3249cb8d59
MD5 1488ba55c50975f215e8e8ad47188634
BLAKE2b-256 690d162c6a31d86e9eb866e4a3dcf880af3c22b0e06f34a42c67d7605fa59bdc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 01578fbb240bfa49b473586b4094ed34868eb587a433722da74786c4666ea38b
MD5 74d6be49699909ebb90b206a5c8c1be2
BLAKE2b-256 2c3d63a87e85256b89462d12bc55c53b6f1fafa490cee3013c929b76f47ea3b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 833761047f2ee4e3f78eeef2e3b27bdf6d8cb40c111b589b83ac20350eb25c13
MD5 8b42c3ac22a50a629478759b83e72c8b
BLAKE2b-256 d5ac94f76642db10443a8d03f2e881b15a71c0e539228c28cac77c715aed84ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a8-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.0a8-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 41888dffd98288dd19a0760f966aa90abdb5b0a768d613a55a0ccb1460cf20b4
MD5 1d18cd0509ba1a060326aa63e5a6f83d
BLAKE2b-256 f0ee8c29eef655d8cb3352f65454325f5b5a5429a3dd244a0445dafcb5ba60af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3920d42e684a95ee6e63a405b78dfc01983293d08fc94ba4df457176bb0b746e
MD5 cedcd90e6afdeeb92d5e9adb22631c6f
BLAKE2b-256 a7edd0555aae18bcabce8129d0c3337aa42ab2601284f1b9f805e24438198ad2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp314-cp314t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 38e68ea09b2df6d8866cad99a793f38cf5c809b124f78488067a9f7d56553047
MD5 87049e09604a286f81518f47a5a533d0
BLAKE2b-256 6ef1943903753fa847403f05b83a181c1675271727a0c30cccb5745a0b8b2c0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 430af1e78b5375ab5c86c18e6a66db4212c4661d9497025e1d2754b29462d594
MD5 4f7e4c9d423ab30261fbbce6054d6827
BLAKE2b-256 80babcdab0c4197a1d2765b9bd441ed02928f5d34464c7e250efd08f4c9d085d

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a8-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.0a8-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 77d46d1d5ac9c52f24e982708d4dfd12c22fe562544e880d98646b795fe238df
MD5 42cd3332963e6a7e4cbd5341a71210ed
BLAKE2b-256 85283c80e5a32c64b7d87a3d2708aa9eeaebf7ad7635d247528057c140896b76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 401b86d650523308f43ecab2401b5217587283b9b4e79afb765064d803118538
MD5 c174b1cfe8f40d92d4ce611d15fadadf
BLAKE2b-256 b3969a0c209499a9c4cdc32708b272a2616693a4414d72d11b05eddfab8f00b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
Algorithm Hash digest
SHA256 7d7b13831ffda6aba9289588b6d83929a4f47371d9ef9316ec05c81732b5875e
MD5 eab8e9ffff19dcf981c5af43eb1069ce
BLAKE2b-256 eb583e227617ccaaf3043e3f2e51ec201ef0a34c643f106cc9ba0bbf3a376601

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 01606222a0752f34b36159cb565b01e4b036b0ddb575b09f6ea6495c32f04fac
MD5 f1d94f9a06d219eaa9775c3c42a84154
BLAKE2b-256 040504ea4c3574b52bad0cf4e8503ddaca1a98fa21e449b48f1b29a3e7016ddf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp314-cp314t-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 b243ec07a36bf3541825839fcb7d12392a90dfeecb77b03b38ec4c24edae3c99
MD5 29c670045245d11e13aab02db68656ab
BLAKE2b-256 e59d7bd03ddac1f1d7e4804b9da11faface05448005e84d53689e6ad2d9783c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a8-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.0a8-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 569a89cb01576141c56e3a2abfce8d8236ed7649b23f4a3e9f377e653f2398b4
MD5 bffca362ecfa94b0c1e4c29763e04f9f
BLAKE2b-256 c027da4a8011672681bb168e6f558fdac9171cd96ba57a82e9f72d46e01672c0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a8-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.0a8-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5b6a6067a8fa7f8fc72d90eabba8e9f251977e6441677c61ef60547619f3565d
MD5 0287279a8eb76b3f6d9fe128f52bf7ba
BLAKE2b-256 00552c5fa887de784f1c60027596f6bdc1639777cab77b340647012e6a4b89de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-6.0.0a8-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.0a8-cp38-abi3-win32.whl
Algorithm Hash digest
SHA256 0ef0e16943e2115cdbc1294e4f0cc64f0a59932452ea63f4e99757ed1940135a
MD5 8cec7ce1e607189ee9501da59c3d3664
BLAKE2b-256 acbecefacada0c6097f6a5b55a3aa03af3ea59f6103ddb2d9642e1ec77816041

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8ef3a416044054ae6a1bab3bd65fea18886f63a976c2e6326ace91ff5caf4d77
MD5 4edb30e264b1937b881447db1ab6f312
BLAKE2b-256 bce7630dc97026db196c7cb1a40b7723b6af8bbc7a4fe8c4ebeb3937f836244f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp38-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 0a8e2edb27355efbafa69cacd8826ae90db7bee1d924197fcf6e69a1afa5f964
MD5 cf33020d943df1b99d14bf57dfa81acc
BLAKE2b-256 74f17c555d91e6e56bd095a9e04d35d59443597114344b38292abc4b6a4bd1cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6cc992ea68994e50f08645acdea7ba5ac9aa77a53793b4bb466822851096b576
MD5 dcbd0762420d375297a30f04e37b4a5a
BLAKE2b-256 619fd9bfa77e1e7a15aa27cb6ffeb40291c72cf6ec9082bca6eae41828fa36f6

See more details on using hashes here.

File details

Details for the file capstone-6.0.0a8-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.0a8-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5f86a505b938c68eea588d85ea46e2f964edd6605e11f523f46956d8ba9e1de7
MD5 052bc8d8fc051a8b349d68c35ff484da
BLAKE2b-256 16cd78bce37180352ac6b755459e37a34fa647d0635e6bc66ae9fceec7b5ab34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f5e414e187ae636bc96f95c4d99e5aee719044f60355baf19ee712c03cb9631f
MD5 a30c77a2f0a6d1ad2428c709d70fcb06
BLAKE2b-256 bf54378fa620baee985ac1c73dac95f72c9be1f4c8992e60babd8c9944280615

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp38-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
Algorithm Hash digest
SHA256 2fbb6270a7e21143bcdcd37584b69933c278bf6ffa80a579aaf4303b7edcb483
MD5 824186e16ddb60a5213293ac83864857
BLAKE2b-256 562e7bf60ecf15a48ae7c90373ab6f78c7ce97ff898a4ef2a52bd2819d4941c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 31921cecebd67db39007c95cbbb6a3f215f900fd974fbee1db34ad8d4a251ec2
MD5 9160740298d65ee872405697a0932eda
BLAKE2b-256 b01cbc94f097836e18ac0485df1c31658f437236a8db5b763584cd63f33c4c50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-6.0.0a8-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 21a18a9befbe90b094007ef249de1ba6d00529f86f4fcf7ff1adc6abcc064417
MD5 f1941b3a08c1a38e033ad14cf73ca1f9
BLAKE2b-256 2ea5213aeec0de7428aef6e133174c0db14589efd810619820ac7ea9927e5987

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