Skip to main content

Capstone disassembly engine

Project description

To install Capstone, you should run pip install capstone.

If you would like to build and install Capstone with just the source distribution, just run python -m pip install ., considering you are 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.md 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/capstone-engine/capstone.


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, AARCH64 (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

capstone6pwndbg-6.0.0a6.tar.gz (4.9 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

capstone6pwndbg-6.0.0a6-cp314-cp314t-musllinux_1_2_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

capstone6pwndbg-6.0.0a6-cp314-cp314t-musllinux_1_2_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

capstone6pwndbg-6.0.0a6-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

capstone6pwndbg-6.0.0a6-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

capstone6pwndbg-6.0.0a6-cp314-cp314t-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

capstone6pwndbg-6.0.0a6-cp314-cp314t-macosx_10_15_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.14tmacOS 10.15+ x86-64

capstone6pwndbg-6.0.0a6-cp38-abi3-musllinux_1_2_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ x86-64

capstone6pwndbg-6.0.0a6-cp38-abi3-musllinux_1_2_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

capstone6pwndbg-6.0.0a6-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

capstone6pwndbg-6.0.0a6-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

capstone6pwndbg-6.0.0a6-cp38-abi3-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

capstone6pwndbg-6.0.0a6-cp38-abi3-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.8+macOS 10.9+ x86-64

File details

Details for the file capstone6pwndbg-6.0.0a6.tar.gz.

File metadata

  • Download URL: capstone6pwndbg-6.0.0a6.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.29 {"installer":{"name":"uv","version":"0.9.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for capstone6pwndbg-6.0.0a6.tar.gz
Algorithm Hash digest
SHA256 447689457cbfd1d48faf495e68a90b1ef73f1d08fbfd9297ff7d5cc471d94187
MD5 f646859e94215c4c8dc407df2e45be4d
BLAKE2b-256 c549a72bad494a2338fe9cd2e4472e30a6975542c62ae90018a7ddec2c744bd4

See more details on using hashes here.

File details

Details for the file capstone6pwndbg-6.0.0a6-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: capstone6pwndbg-6.0.0a6-cp314-cp314t-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.14t, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for capstone6pwndbg-6.0.0a6-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9cb9c304962d693cb9568aaac6dee6c22a4e1d96eabc636aad629f77f8d82f71
MD5 d761102812e50414eb4aa64adef18fed
BLAKE2b-256 e54b8dff63b4c29b2544df9bd076eb4e060bcf2989f2f56eae2ae49057370f0b

See more details on using hashes here.

File details

Details for the file capstone6pwndbg-6.0.0a6-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

  • Download URL: capstone6pwndbg-6.0.0a6-cp314-cp314t-musllinux_1_2_aarch64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.14t, musllinux: musl 1.2+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for capstone6pwndbg-6.0.0a6-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 70232deb560ca948dc1594ca55a39ccb5e1ece0aa94c3c5a41c887d1b484a0cf
MD5 c75c63333df22e468d58ba04e54dec57
BLAKE2b-256 43322cee7b382fabf4880b5a3a23843c8bf251b991819eca6f9cfc98aa805eaf

See more details on using hashes here.

File details

Details for the file capstone6pwndbg-6.0.0a6-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: capstone6pwndbg-6.0.0a6-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.14t, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for capstone6pwndbg-6.0.0a6-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bcf0e40d5a206bc2fa701f77db43423ae51113fb2391dd9bb882fa2c2346e95f
MD5 cb80c59765b7bc1521e62e249392ff8d
BLAKE2b-256 b59778e22ecde513bf6e4c7a6a04022da1e243dae17693b060f4c4da53c79c10

See more details on using hashes here.

File details

Details for the file capstone6pwndbg-6.0.0a6-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for capstone6pwndbg-6.0.0a6-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cfcbce771e1397e31c113a0b772b16cae271870a8dcdca63f66b7fc06d32dd02
MD5 f67bf48544bf40490b73028b4f4130ea
BLAKE2b-256 26c6a4427b2779acccc8b7d68bcfa4206356daa74fa3b77b0883d2372dc10a5c

See more details on using hashes here.

File details

Details for the file capstone6pwndbg-6.0.0a6-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

  • Download URL: capstone6pwndbg-6.0.0a6-cp314-cp314t-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.14t, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for capstone6pwndbg-6.0.0a6-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 15bfbfa1fdbd076ae8eb648ae1a33a9c34b1b7528ec5a3841b124608bdd28ee8
MD5 ab84b1db2a2aa47475171fb2510ce2df
BLAKE2b-256 c873395f2a25b5f520bf541682fa06edb301f7e13243321eb4b2c029a4fca3d2

See more details on using hashes here.

File details

Details for the file capstone6pwndbg-6.0.0a6-cp314-cp314t-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for capstone6pwndbg-6.0.0a6-cp314-cp314t-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 10a291d78d58e6660ac5ee5355c3118aefbfc3302096664871862a92a6c17daa
MD5 f78678ee4e32a1c6bef974e99bc7f6c0
BLAKE2b-256 6f75d6c5128034fa5a088d08d7e048f7abb779470c8c1e97246c9d595f45a081

See more details on using hashes here.

File details

Details for the file capstone6pwndbg-6.0.0a6-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for capstone6pwndbg-6.0.0a6-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ccddb8c836eb1a69d2573fdec3b276cbbdfb7ad673b940961e0a23193bb49041
MD5 e5e65266d0c3eadf0cfc8738f56e9f56
BLAKE2b-256 64bb83d7d051314867d4b4d38cfe7f816e56f5715ad95cd47d0ced54e87fbda1

See more details on using hashes here.

File details

Details for the file capstone6pwndbg-6.0.0a6-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for capstone6pwndbg-6.0.0a6-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b06d665c86a5b370826c48d9df079e9aee2bfac2472681413b926e24f53e396e
MD5 f982c679fd48114e4d296e59c0027092
BLAKE2b-256 2a93f49703a7caaf1e4a2ea2cbad2986438e18e3ab3509854521f54eed352e4c

See more details on using hashes here.

File details

Details for the file capstone6pwndbg-6.0.0a6-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for capstone6pwndbg-6.0.0a6-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bd2d158f677a1c1394975a3cd647c95526568b08dc9be037ad13dcd6e26806fd
MD5 58fc07fdb35bef0cc835fbd935b1f49a
BLAKE2b-256 af133a09603857b72a43e8bdd5f50154852f6cd2c2e51359645a5e089a4f73bb

See more details on using hashes here.

File details

Details for the file capstone6pwndbg-6.0.0a6-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for capstone6pwndbg-6.0.0a6-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fcbf4e42052c24fd4162942a789efd7cb10f7a7077fb7d95d6be533830ba9aec
MD5 1977de9125824602a76ff4a2ef372c9b
BLAKE2b-256 3c24373fa249802a84b616b580120033f4e730e4880c63c1ead0d1e3b8682558

See more details on using hashes here.

File details

Details for the file capstone6pwndbg-6.0.0a6-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for capstone6pwndbg-6.0.0a6-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dc80c0420d31597ca853650b7829c908c0000cb8e08a1ec927b5b2fbe5bed883
MD5 b1d5e65b1a88e620badb505c620ed3b9
BLAKE2b-256 5c4e60949fcfc70ee60964e585d22f39c46c7fb30da88f4d7bcae76781446772

See more details on using hashes here.

File details

Details for the file capstone6pwndbg-6.0.0a6-cp38-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for capstone6pwndbg-6.0.0a6-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3a7df2ca1d12ca59f4c0b574413ae47d435d3547c54d9852f20b4fdd17666340
MD5 eeaa5b9ef55aadf233ef14b61917056a
BLAKE2b-256 2a8e2fabce99f5d3d6e2bce45f5287b6f252073aabb9f1c717838d5a425fbb70

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