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

Uploaded Python 3Windows x86-64

capstone-5.0.1-py3-none-win32.whl (1.3 MB view details)

Uploaded Python 3Windows x86

capstone-5.0.1-py3-none-manylinux1_x86_64.whl (2.9 MB view details)

Uploaded Python 3

capstone-5.0.1-py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl (2.9 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ x86-64

capstone-5.0.1-py3-none-manylinux1_i686.whl (2.9 MB view details)

Uploaded Python 3

capstone-5.0.1-py3-none-manylinux1_i686.manylinux_2_5_i686.whl (2.9 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ i686

capstone-5.0.1-py3-none-macosx_10_9_universal2.whl (2.4 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for capstone-5.0.1.tar.gz
Algorithm Hash digest
SHA256 740afacc29861db591316beefe30df382c4da08dcb0345a0d10f0cac4f8b1ee2
MD5 de948ceed409f3bd9232b4f1097c7107
BLAKE2b-256 7afee6cdc4ad6e0d9603fa662d1ccba6301c0cb762a1c90a42c7146a538c24e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-5.0.1-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/4.0.2 CPython/3.11.4

File hashes

Hashes for capstone-5.0.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 1bfa5c81e6880caf41a31946cd6d2d069c048bcc22edf121254b501a048de675
MD5 6bf8101782b790492536471c5444f322
BLAKE2b-256 d0ddb28df50316ca193dd1275a4c47115a720796d9e1501c1888c4bfa5dc2260

See more details on using hashes here.

File details

Details for the file capstone-5.0.1-py3-none-win32.whl.

File metadata

  • Download URL: capstone-5.0.1-py3-none-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for capstone-5.0.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 4356bdee55639c4448d025dc9d8a3b6c07f2b188c62b88df3d554a84e2cd89af
MD5 14f93b75b0c4ab40f8ee0d04f3fe8d6c
BLAKE2b-256 12309498abe07ed52fb40bf2259c840fd2908804dba8cc603b7dcb54bcdd11d2

See more details on using hashes here.

File details

Details for the file capstone-5.0.1-py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for capstone-5.0.1-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 04223a4e5c2374f21da59c5c5a5b90471bfcef5cb938e7b32de68579cf863b7a
MD5 d83d100777af6ab49a118814bf2c5fdb
BLAKE2b-256 7b67a0236bc42752076d978b83293b00fd2e012bb1526603920e25715ce45277

See more details on using hashes here.

File details

Details for the file capstone-5.0.1-py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for capstone-5.0.1-py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 ea8d0be06d2faa39545937fe88db239fd62227915f9744d8990439011c479f05
MD5 4b257a63039fba13741dcd6d6ff24cb6
BLAKE2b-256 68b4033718dfcd08a0f4a7550ddedd6247ece7685266c3cbc560432bec4ac5e4

See more details on using hashes here.

File details

Details for the file capstone-5.0.1-py3-none-manylinux1_i686.whl.

File metadata

File hashes

Hashes for capstone-5.0.1-py3-none-manylinux1_i686.whl
Algorithm Hash digest
SHA256 08f16c2782e54d05c95f1d40e1ae0e58e4a57d6a6c3192f8c5ff61476f4130de
MD5 51a30db5f1b9f5b14abce2ef9fc2dc1a
BLAKE2b-256 d6e7278a22e88c04b2dbc8e393045f34ab008ea404ec397b693bc7f729b4717c

See more details on using hashes here.

File details

Details for the file capstone-5.0.1-py3-none-manylinux1_i686.manylinux_2_5_i686.whl.

File metadata

File hashes

Hashes for capstone-5.0.1-py3-none-manylinux1_i686.manylinux_2_5_i686.whl
Algorithm Hash digest
SHA256 3f34a949699c298e88d7c9a576a2fd7685dba658a9c432bce826eeb88676cf24
MD5 82951b91f0c4be54d2daabb71bab033c
BLAKE2b-256 5c8038c04918f2871c29599acddc72282ac820933373dda69b6efcb4cf466674

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.1-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 740a70624d3f258cf8503898dbfd968052c008ddd4fc4ab938c7046c8828c294
MD5 29694c748b679306e3eefc3ff44a4fc5
BLAKE2b-256 56c9936a81a0707fbd2650a94c9297e36c4c2cf34f51695fb1f6fd39de1b3247

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