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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ i686

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.9+ x86-64

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

File metadata

  • Download URL: capstone-5.0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 0429af292ddc604d3c9344696807e281d5e728db029f00e6a4ea9e3bff1aac9e
MD5 c96e4328d7e2f774800f5d11b8ec5e15
BLAKE2b-256 39016516910f546fbb996068207b9dd0229b14bc8dae223114d5e0e27d3cad11

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capstone-5.0.9-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.9-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 732cedbbb56d42e723f14d7af6387f1454194a820b4b96b56d1e53f865ef85d0
MD5 9703d55a5ad8058f0fe3bbc10a835ea7
BLAKE2b-256 50e66f06fdb6a9ed32b2f7cd9c036b92d5324112c3ef7080f2c71efc367d40dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.9-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cfec34e6e01472fe60850c87c5bea9918c274fa2a605b510e6489bf87c0c9960
MD5 bd1ecbf5e4353f70cf66f5fb71f0e2ed
BLAKE2b-256 09a139a575aa27a35b43b0ad93065a1803dba39038060eccfb29031d82e3fb2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.9-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 0cc3b1ec319ab0530efc6b181491b77dd3373c81b6dbcf2f05a80e3d8dd61d5e
MD5 7602bf93e152cfe39738a325e07a98d6
BLAKE2b-256 7bf33865a0371603994f8bf521595b3072080bfe1b715f8bd080988d026dd2a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.9-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 69064219c814ad64af35469a7c4ddd19b730cacb96a1a796435ccde0e1567d05
MD5 2d994a6cf8e369be2633c089c7e8da04
BLAKE2b-256 b974c178ac241892bb3668b633065bdbe6dc719c2aa54668d68a8e23a6753525

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 273fd8d747d2e35c88f91450be51a603ecfaafb00d96d9f315dcb8689c86193e
MD5 b2a99baecbecf1ac59138255c3920673
BLAKE2b-256 d13917747862222bb062e86b501f1f148d5ff589b77908b080d30f7f085cbfb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 41772ad0c71aa5d3e97d541e802593c2e71fb94ac7e20d4202f97ce2a3eb8ed5
MD5 24c96ac5c997597d26de2fa11ac71281
BLAKE2b-256 45d9dbeadb9fcd461e608ce79b1cb647fed6baa812fa6e1c68b0ba5ef81291af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.9-py3-none-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 1f5871b57e987d5bf23b531fbe868211b74ad750fa9b830a3d3cdc4956bc0ae3
MD5 23df4f5fca6ddb2b867fd816b19ea302
BLAKE2b-256 12569a694f60f5b26612039d975c1c84d2ad8fd0ad839b0b1058dbe68dd32b0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.9-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fc269c5082e17d7f9f265cd6980e2fdc6ab572df913951d76db0357e06b8001d
MD5 551a21b8a6b8907258cd4d086c63f700
BLAKE2b-256 429a4eecfbc94961cda70301fd13de69042be1943bee456e37bc1369840601b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.9-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8c4a1d7134d7d5290e5d77066500385f2c7a4bf66835ccbfde5180042d508b3c
MD5 f87ae5e22f327194c122f1275b6839eb
BLAKE2b-256 7074d00de02c62ce864c6b43796c524516ea064e3e6fc1327d452f78270e8323

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capstone-5.0.9-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 58a874d9a6cb15122135b1385a782e5b54c8a4d9396161b6498465046d2e0442
MD5 58080be026c61a6508f87996d218add1
BLAKE2b-256 daf343f4dbfc36c7740d512621a9d42b276ac21bb6ca7cb974d4c8a19060d387

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