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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for capstone-5.0.3-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21d00dce9dc204a22126fe6f45a8894d03a6607182bc86f14fc9bd1d1d3897ed |
|
MD5 | 3c271376862096bed1e4c13b4d8de85f |
|
BLAKE2b-256 | 3529f751bb52b73b0a2e6414ad4e9271fa0cba966e747c1f3351a9c46e9f1ca7 |
Hashes for capstone-5.0.3-py3-none-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63e8544d7500b889a5feb6f7c9a939723663107dd3360ad18f36a3f6985cfd26 |
|
MD5 | f4b13d6ab656d3c04c38edc62ae02ed7 |
|
BLAKE2b-256 | 00883459e1124a7c1bdc02fa2870ffeecdd0fa2be2b4b3382732cd3e3b2e92f2 |
Hashes for capstone-5.0.3-py3-none-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d45fdf4ae11197234eedbd81742bd4650924f9bb3abee0b238ea63dad8001cc |
|
MD5 | 2233921b9eac0b1a3ca46b3f0bb2838a |
|
BLAKE2b-256 | 6be0d3b617dd552a802760d63e29392c217266505f531c799f4b4cf3e9906eef |
Hashes for capstone-5.0.3-py3-none-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aebb35f0cfb808aac24d2e3c745be43bcedbb863ecb0192d720faa8002983544 |
|
MD5 | af8259e775ae447c4fe416be55ef102c |
|
BLAKE2b-256 | d882dd45915b0de636ef949b9d56bd529ae52987d74db1c2d2b7feb4dee322f6 |
Hashes for capstone-5.0.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6b7f3ec2346a60475d9d043b437ace5e6688fc9c4d45387476104bd2c231040 |
|
MD5 | 83a5c0ef21b18b69ddf4b230c467198e |
|
BLAKE2b-256 | 24f4ae2d072d39664b7c32da9c8877f7d204692565f7c844da10e70c47730191 |
Hashes for capstone-5.0.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 237fef7e20906bad09286554c7f8a5a744adeec4d658c5e33938bf9241b5f076 |
|
MD5 | 3124fa98de18a5523606f70f325d9293 |
|
BLAKE2b-256 | 22bc39d69c65b7d58157d0c3acad9b929a3f0852c84e44b0e25b6fb89a9e1a7d |
Hashes for capstone-5.0.3-py3-none-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f25e23052d5fa5b6709f7111d7f1250131fb5dac878b8249a4637e6ab953129 |
|
MD5 | a0fe3f79f848b269fd330083300c1ccf |
|
BLAKE2b-256 | 7f1b1b200d7a32de3b2bf61ee0316385aa566d698d20af99d8e2e00e5ec4b144 |
Hashes for capstone-5.0.3-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76658b66a5f0275c942cd4daf35dca7520387689f588f127020c9130d76c4ddf |
|
MD5 | 6ac61ac063a809f3745cc2494310fd99 |
|
BLAKE2b-256 | 3679ddc8a36238791e58ec31a13c10887447b56819d934ab00d6e1371a2e94f1 |
Hashes for capstone-5.0.3-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5917b00ddb0b3a665bcb7a623ee08bcaf4ddec783c5d2ca69f72278d6de38d2c |
|
MD5 | 6247311dae877d2be3a7bcf07c9ab6e2 |
|
BLAKE2b-256 | 603f89f13db42cd24af1c80831b6ac978a8a42ad860a35cc461ec009c281e8f3 |
Hashes for capstone-5.0.3-py3-none-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dc6b5f4d85a2ba2330473529d7b4faccd71470b489fd19a539c20b74f3c9924 |
|
MD5 | 3a6a49b9a74b4e325375bc5eef06cd9a |
|
BLAKE2b-256 | cc40503cdbc0b38c5b8b5bcad47ae507b70cecbb18365a82470a46f425788061 |