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.6.tar.gz (2.9 MB view details)

Uploaded Source

Built Distributions

capstone-5.0.6-py3-none-win_amd64.whl (1.3 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ i686

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.9+ x86-64

capstone-5.0.6-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.6.tar.gz.

File metadata

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

File hashes

Hashes for capstone-5.0.6.tar.gz
Algorithm Hash digest
SHA256 b11a87d67751b006b9b44428d59c99512e6d6c89cf7dff8cdd92d9065628b5a0
MD5 886cc2ec3806cd2d277b2bdae9519dcc
BLAKE2b-256 d5b01f126035a4cbc6f488b97e4bd57a46a28b6ba29ca8b938cbda840601a18a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-5.0.6-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.12.9

File hashes

Hashes for capstone-5.0.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 761c3deae00b22ac697081cdae1383bb90659dd0d79387a09cf5bdbb22b17064
MD5 bacff1db85092449a078b853eedaa37e
BLAKE2b-256 da72ff7894c2fb5716d9a3ce9c27ba34b29d991a11d8442d2ef0fcdc5564ba7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.6-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bc23cf634f51d0e53bdd04ea53ccfff7fc9060dfe58dff1e1b260ce40e5538ff
MD5 d05567f31d49108394f05e10ccafb026
BLAKE2b-256 dfc38b842ae32949c3570581164619c2f69001c6d8da566dc2e490372032b0d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.6-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 22f1f2f118f8fa1d1c5c90bca90e75864d55e16349b3c03aaea0e86b4a45d2a9
MD5 02a8aadbd7613c68ca039cb911dbad89
BLAKE2b-256 0c53f371e86493a2ae659b5a493c3cc23122974e83a1f53d3a5638d7bb7ac371

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.6-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 45c0e25500dd8d283d3b70f2e10cebfec93ab8bdaf6af9a763a0a999b4705891
MD5 8a28069205169e1849810f7c18720da4
BLAKE2b-256 726307437972f68d0b2ba13e1705a6994404c9c961afbadc342c5b6fcf1de652

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0358855773100bb91ae6681fabce7299df83156945ba943f6211061a592c54a6
MD5 7b36dfc7ac73ad0f41ddac8e345703ab
BLAKE2b-256 787fec0687bbe8f6b128f1d41d90ec7cedfd1aaaa4ecb1ae8d334acc7dad8013

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fa7892f0c89455078c18f07d2d309fb07baa53061b8f9a63db1ea00d41a46726
MD5 758d58f86da298c06c4849daab6a1428
BLAKE2b-256 baa2d1bdb7260ade8165182979ea16098ef3a37c01316140511a611e549dbfe3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.6-py3-none-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 667d6466dab1522fa5e9659be5cf1aca83e4fc3da7d15d0e5e6047f71fb46c4a
MD5 9e371d431c2a29d9e4ef5f177773427b
BLAKE2b-256 fc1d77bb0f79e1dacdfdcc0679c747d9ca24cc621095e09bdb665e7dd0c580ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e0b87b283905e4fc43635ca04cf26f4a5d9e8375852e5464d38938f3a28c207a
MD5 53ce902d749d0622d4b6275f6ae9cd01
BLAKE2b-256 54937b8fb02661d47a2822d5b640df804ef310417144af02e6db3446f174c4b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.6-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 539191906a34ad1c573ec12b787b2caf154ea41175db6ded9def00aea8151099
MD5 0689cf2036d8d04cf52879eff367eefd
BLAKE2b-256 662872a0be2325e6ee459f27cdcd835d3eee6fed5136321b5f7be41b41dc8656

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.6-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0bca16e1c3ca1b928df6103b3889dcb6df7b05392d75a0b7af3508798148b899
MD5 b1766b450d841771e01d63fd08d5de25
BLAKE2b-256 cd9ad9c11e090fa03dfc61a03a57ba44c6a07370f4ac5814f2a5804bfd40ee8b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page