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

Uploaded Python 3Windows x86-64

capstone-5.0.0rc4-py3-none-win32.whl (1.2 MB view details)

Uploaded Python 3Windows x86

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

Uploaded Python 3

capstone-5.0.0rc4-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.0rc4-py3-none-manylinux1_i686.whl (2.9 MB view details)

Uploaded Python 3

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

Uploaded Python 3manylinux: glibc 2.5+ i686

capstone-5.0.0rc4-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.0rc4.tar.gz.

File metadata

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

File hashes

Hashes for capstone-5.0.0rc4.tar.gz
Algorithm Hash digest
SHA256 dc19328a0a3a6fe4afd066b6388064ab7a606463870e1165e7f001993f5d05b8
MD5 f2ca3d60d080ba85c2a18c0db655674b
BLAKE2b-256 724c2766bfe89b99b47d2ef831cd4d9a348a8508f9978c52e7908dab936e3370

See more details on using hashes here.

File details

Details for the file capstone-5.0.0rc4-py3-none-win_amd64.whl.

File metadata

  • Download URL: capstone-5.0.0rc4-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.1 CPython/3.11.4

File hashes

Hashes for capstone-5.0.0rc4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5920c025f713432415ff3c299ccdca9715d45164232b834812867ce78b0c0d83
MD5 06a376c764f14a38b59faba289f45bd8
BLAKE2b-256 16b291117fd06f4c073ec746482b6d3f505f93e948173467d08eab9e0b3acf0e

See more details on using hashes here.

File details

Details for the file capstone-5.0.0rc4-py3-none-win32.whl.

File metadata

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

File hashes

Hashes for capstone-5.0.0rc4-py3-none-win32.whl
Algorithm Hash digest
SHA256 5c1a1c7c7a31e5033f4b10c884c99f7a2f14b0eb60309bdb950367861e9af57d
MD5 c8d21db8389406c569ab80967d71b44a
BLAKE2b-256 686b20a3bcbcb2800325edba87b8ae2f777e0fc037794afa65b0eaed162afb85

See more details on using hashes here.

File details

Details for the file capstone-5.0.0rc4-py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for capstone-5.0.0rc4-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4cab541f931cadf5c46fc3282968f2533753f11ca373a735d427cab5390b37ab
MD5 e2bdc3d9811448e69b1929b5212b1b97
BLAKE2b-256 1c13caecd738ebe1ca49ff6e68f5731525c96037265669325be9a616ee8c170e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.0rc4-py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 3d27f37a4c1cb99e462f606c1d11fce269d6524f42dd9f5a3c12524576ed6af9
MD5 0ffa15d03117dc51164e7c5948e14d05
BLAKE2b-256 3ab85b5e893580349a48f2a8481d8102c2a4ae9e80ef719643fc18b2aa5e788e

See more details on using hashes here.

File details

Details for the file capstone-5.0.0rc4-py3-none-manylinux1_i686.whl.

File metadata

File hashes

Hashes for capstone-5.0.0rc4-py3-none-manylinux1_i686.whl
Algorithm Hash digest
SHA256 9bffb347b4128417fcc3c0d1541e19ea991ffc25ac55fd61c5b6fe0fa792ef6a
MD5 5085bb8cb0f39840537d68714fb06171
BLAKE2b-256 39df13c634993589f77b665964d7e7c5a892ebeb721136b36950edc64eb25097

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.0rc4-py3-none-manylinux1_i686.manylinux_2_5_i686.whl
Algorithm Hash digest
SHA256 8ca8fe7faefdcbf663bf2257079f773d3178e49c710ffc2f06d1498430a24aa2
MD5 6a46ec79292f06c6809de9f5a7d23f16
BLAKE2b-256 7da479a08f0c9696860baf2e9fe7f6f1191790dacf271867a0a9a54a8b426ec6

See more details on using hashes here.

File details

Details for the file capstone-5.0.0rc4-py3-none-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for capstone-5.0.0rc4-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 160ff3cb47a17f98daf3826c9e2dcdf42d3d4b17b0b40986d0eabfaa6e16dd73
MD5 1d0c3b14434abd0ff6cfc1de03ad1274
BLAKE2b-256 53539077cfe90f05a9287755f2a4fb725b4f9fab42d0eb8fbd590ba5fb473d26

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