Skip to main content

Capstone disassembly engine

Project description

To install Capstone, you should run pip install capstone.

If you would like to build Capstone with just the source distribution, without pip, just run python setup.py install 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.txt 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/aquynh/capstone and tag @rhelmot - she will fix this, probably!


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, ARM64 (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-5.0.4.tar.gz (2.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-5.0.4-py3-none-win_amd64.whl (1.3 MB view details)

Uploaded Python 3Windows x86-64

capstone-5.0.4-py3-none-musllinux_1_2_x86_64.whl (1.5 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

capstone-5.0.4-py3-none-musllinux_1_2_i686.whl (1.5 MB view details)

Uploaded Python 3musllinux: musl 1.2+ i686

capstone-5.0.4-py3-none-musllinux_1_2_aarch64.whl (1.5 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

capstone-5.0.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

capstone-5.0.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

capstone-5.0.4-py3-none-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

capstone-5.0.4-py3-none-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

capstone-5.0.4-py3-none-macosx_10_9_x86_64.whl (1.2 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

capstone-5.0.4-py3-none-macosx_10_9_universal2.whl (2.2 MB view details)

Uploaded Python 3macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file capstone-5.0.4.tar.gz.

File metadata

  • Download URL: capstone-5.0.4.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for capstone-5.0.4.tar.gz
Algorithm Hash digest
SHA256 bbdf9f4e2ead2b81213358ee3cf4a9e4e4873fa01657daecd88da56f32b52256
MD5 0655c4b6e1db2dede8b25f1990fed367
BLAKE2b-256 32b962e7c3ee14f12e0a8d5e82592cc3faa12122666d60e4f464a21d98aa3641

See more details on using hashes here.

File details

Details for the file capstone-5.0.4-py3-none-win_amd64.whl.

File metadata

  • Download URL: capstone-5.0.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for capstone-5.0.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3f98356e2271cdd974f182b802c14db5c9bd7ba13360ddcff98e30739a630a47
MD5 b50b338a4cb03a283c669064391f155d
BLAKE2b-256 de8cb43502c0b029b45f51a06106ad4ad0f6a25b989e6bb7def408a147100526

See more details on using hashes here.

File details

Details for the file capstone-5.0.4-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for capstone-5.0.4-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e52473bdebdfffc39376cf6617d61730ad69ad742146a65a80b65b445cb2f464
MD5 863ca2f6437caba03c15ec5892cb40de
BLAKE2b-256 74f377293434fff43efa3737966558fecd4096dece1d270d3301c28d881b5460

See more details on using hashes here.

File details

Details for the file capstone-5.0.4-py3-none-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for capstone-5.0.4-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 04d74a2fc6ea15cf67270d1a369e12cb24e4d820933a2f3d0118486de62dc5fe
MD5 78fae02e31eccb60485f29101873eaf6
BLAKE2b-256 bf0330e7ff63cd7cd2f8cda9e93dd263c9de8397ec466e196546c2c13a437760

See more details on using hashes here.

File details

Details for the file capstone-5.0.4-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for capstone-5.0.4-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 79ba42d36645b4c7fa6adc8b608a9f24254afafac0d141fcf63bb489bda98792
MD5 919d15c0d8b726a7a19ee7fb2fcccbf8
BLAKE2b-256 b41cc917da6c712607d3ad609a481d00d4a40b4befe38e4ecde7fa878de48efa

See more details on using hashes here.

File details

Details for the file capstone-5.0.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for capstone-5.0.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2b0af39e015b4d4de863ba823cce99a600d5984d62012503914c277623c31635
MD5 cdfe39a6d66cec7f9f8483cd0349cf6b
BLAKE2b-256 97401239ee8a563da72d0687ff216f0600fabacc5058a7f9130995ca9d996058

See more details on using hashes here.

File details

Details for the file capstone-5.0.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for capstone-5.0.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5bb55818ef5e445726b182a230d87ee942d5abf9d173f4925b3e7523397b3cfa
MD5 1e647c4efcf1e170b1b38967573129af
BLAKE2b-256 68f271263639ce13c883026e250e9e1ef71612953ea6ef8ffd0ff7fb7ac90c65

See more details on using hashes here.

File details

Details for the file capstone-5.0.4-py3-none-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for capstone-5.0.4-py3-none-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 6eac52bd3d718c43b91ee252b0c59b695820c81d33aa0ceca7e59ebffb6a0a75
MD5 8d2c4bcc170972343133e0ee9378b06e
BLAKE2b-256 c4303498f43d936e39369d44c0d27155f65a35dd98c3db1bd8682394fba3b75c

See more details on using hashes here.

File details

Details for the file capstone-5.0.4-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for capstone-5.0.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 32ea5c1741b37df42506cd69e6131c0ff3680863609245d76d03ec89e6e6b56d
MD5 7a18f217feb2628917816828b74431b7
BLAKE2b-256 5f16fce3a05a63921e1c1a03e219c4b5a98ea98f977a1c888cea95299bf10a3b

See more details on using hashes here.

File details

Details for the file capstone-5.0.4-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for capstone-5.0.4-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e3055c9f9473450ce8b7bcaf8e2b30dccf422bc7801ec48ec5c876d292fd214e
MD5 726b60233bac0554faabc3193e0e2e9a
BLAKE2b-256 e77c90530daa9a89e785ee5fca5edb31060f068fd6daad737dbb7bc8cc916d63

See more details on using hashes here.

File details

Details for the file capstone-5.0.4-py3-none-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for capstone-5.0.4-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6b58d06e7b8c8c2d2c6324c6c5808e5a07ac06a8b2869c1d36aeaa01cbcb11c8
MD5 b73a4573fddead26073672c8f9cff10d
BLAKE2b-256 6076ac25913f14f92d9e1baa1a12f326ac9c127b47a9a44d1920884ac1804d83

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