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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ i686

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.9+ x86-64

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

File metadata

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

File hashes

Hashes for capstone-5.0.7.tar.gz
Algorithm Hash digest
SHA256 796bdd69b05fa124fc2aa2e74b9a0b3d4c4e7f3e02add5e583cf2f3bca282ede
MD5 444f7432b743705aaaba65818f699e37
BLAKE2b-256 dd9c28b11f64e2425774efb21c206a6e952cfce6e3e2ef3e4b63cdae32ccd8a5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for capstone-5.0.7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4ab8bcb7da8f221ff45926ca168ca33e76f7237d06fbf3c10780002faa2670e1
MD5 aeb673f2c021cb3592282c8b6d423eb7
BLAKE2b-256 70392138d890a8e827636b9de9924fbc8527fe83e38b6d26605b30ac55e30ebe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.7-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a13437b28b136c886600e88bee192d25adf56ba1db5597ff5a0bec758bb9c533
MD5 6d1bd7b25246977ae9e311e55ec542ce
BLAKE2b-256 0b98a7d631f7bca9de02357637cfab1fb90a67992905f2041357ac5732c8a4cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.7-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 e551311d4b6dc344fe5518ef6decf4c2dfafe37bba9ad027a53a406930bc5c63
MD5 67b24b0694e924d8f71cc05fe7e89ff9
BLAKE2b-256 e151e3913f53ed03a8f7311b1efacbc1052811e129baa37b4f14e79da3cbc0c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.7-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 467716e6555d50cb3526b290f0dbdccb5f961839b1f1e299b484fb5d814173e6
MD5 3882aaef99d9533b3b8f21a47c99a49c
BLAKE2b-256 05244162bbc2591091dfa6c161b4a9ef1a6eccb739c20798e58f59f917a8a3d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b809a9654844ce0d35099121a851ddd2ab2689df1ff6687037babcedcaae6391
MD5 273b8315385dd2fdd732138c4f8fdc02
BLAKE2b-256 153e3a4f45dd4eda6fc8051f76bf3ed50ead6040d827000371211fbaaf057625

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c58546c814567c95e4b9a63bdb8624c960cb8508855c7c767d5f108d7bc09ce2
MD5 8d19baafbafca7d222d28963775f9819
BLAKE2b-256 7d32084419edcd9a3efaadf5c22166de625090fae833aad0672ddd9fa436d1e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.7-py3-none-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 80b0f1b93fc703c419fda8cf84cfa017fd8909be62a4e88024273126ab16f006
MD5 4101b77ab82ce18f5a2b4827219ecb9d
BLAKE2b-256 4ba86b4df60c822aaeb42954ea6c9fdbf3410feaa6bea6dc3f18f6c363fd1ed2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.7-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 acb89f5bf6f625745a104a3a44819d3acea173228055c1eadc60d2282ae490bb
MD5 0bf5f6d82653f4900e4726b3307eae01
BLAKE2b-256 8f4329cd1dbdb2b55bf339bca36444809503b8311dcc04898726a7e35b47ac86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.7-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a9f64e3d75d8c4d7b3d26bba153b2992aadcf6b8d57674b4ef176b4ecdd9822f
MD5 f2db7a31a894fc1b5bd721a5974e9b13
BLAKE2b-256 b76cf02847b3385651eb00a6a27049bd12982cdd61e981b248e7f0dc8ed15756

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.7-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 388af4ddb9224d3b4f9269673ee575b3f94f77774d48b3f1a283ad13c29a106a
MD5 d558456db82d58eaea797ce0af055dcc
BLAKE2b-256 b29198fdb020106469d2354920ffb989507f8c494d847eb9135202a0b20afe8d

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