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.8.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.8-py3-none-win_amd64.whl (1.3 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ i686

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

capstone-5.0.8-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.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

capstone-5.0.8-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.8-py3-none-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.9+ x86-64

capstone-5.0.8-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.8.tar.gz.

File metadata

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

File hashes

Hashes for capstone-5.0.8.tar.gz
Algorithm Hash digest
SHA256 6dd5d56011533b8452325d3aa586ba3788ecbf843fc976ec6ae2833c86481e72
MD5 4b96ef64a9c1c6329fffc979a6f13fc3
BLAKE2b-256 f8647222574999dbfe1ecf2cbe63b7acb3521ae390f2ad377df8a6846ead029d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-5.0.8-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.1.0 CPython/3.13.12

File hashes

Hashes for capstone-5.0.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 49dd7969a6e4245f284b51a1f9247d79335125a2fa7f10a4b924c5d7ddebda53
MD5 8f5bff9891d72fc692303d75cbd408e6
BLAKE2b-256 2d516cd73b489040a84420844ea14db8436ec64a3f01b981d9914c5391e6168b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.8-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 21cc6bc86ec6b9cb69e3b7185cb0292ec8e93930c2f67aa904d3a5bda59cfb0d
MD5 392151408e21e92f58763f33a39d76d3
BLAKE2b-256 71e5d2f424f3e7008a518d29b2c784b228169816d0556a9233d2b0657c94c465

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.8-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 2442b98677cbc3dbc15755204147a9e8fa6be5bfd916aebd73461833a75cc27f
MD5 8b0fe22b4759cb92bb7473d17876d054
BLAKE2b-256 ef91a00fa588911e357a962ec0dce931e9ee5eb1701ed8d6d7cd1eb299a72b71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.8-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 da722aed323b39439ba4358c663617df6d4d9b0cf9d5f8b10a9defb45fd224d0
MD5 40ac6cd1f67d5d617c461df542cc04b4
BLAKE2b-256 48b6e032471dcaf0179be6a2e01e9ee1ac37b3b05768a74ab34733472ed373ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 22a625dc5c508dcfb558ee9def1d60627c7ca7e03c5d7848706dfc995e0340a9
MD5 9c9923e04799826c4cbf1de23c3289d9
BLAKE2b-256 2d58ff5cff6793b5b4521fda5ffbb490b5c4462d74c11ddc72eedd7d84a48f0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f8d985bc3eab4fd2326f57990689aef1e8d2d85f231e2ca1922e5092838d289b
MD5 2374f181d4df23377ff8a977ab1395de
BLAKE2b-256 e43ee217ae556d4227ffeeebf1ee4e17173a947a08fd5b22c2236a6a4e452807

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.8-py3-none-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 5cbfca6354d2737aee83a274c8f3a60b8719ef8ee086264d06cbf400ad34364c
MD5 c0a049eba869bc31b1d290b4d75bfae2
BLAKE2b-256 03412e48aaa8dc7c6a203780e270d69fae64950a87fbbf82398419bab9edb6dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.8-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9fa96a5587f24611f555e3a149d730f641041de9d18bc539b6a8195773573e3c
MD5 80babf6f5e44f5a4dbb5baea9339dacb
BLAKE2b-256 edd9ffb98a26c8ba00fb60fc22e8fc15ccfac654ffdad2289b3704aa97b60c75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.8-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6fedb8ac772e0d72535aa7b01f3168f9322eae9dfc6f2a7ff4a3df4b56abe4bd
MD5 26d6b1f183e24f994498464f0a9334ba
BLAKE2b-256 dce77efc904a90456e158199626e36f093364a8be7ab33e49c3bc20566a014ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.8-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 57a9f20b70707a60e85de440e58abc62547721c825532d5a4d68120b01cf15ec
MD5 27a4b07e5ec0bb6d213e80f77bba749f
BLAKE2b-256 090e43263061b2cc9af157d74a2b01cd4cf45f2d58016ebc4d9ecf6f58e9ec2e

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