| 1 | Capstone Engine |
| 2 | =============== |
| 3 | |
| 4 | [](https://ci.appveyor.com/project/aquynh/capstone/branch/next) |
| 5 | [](https://pypi.python.org/pypi/capstone) |
| 6 | [](https://pepy.tech/project/capstone) |
| 7 | [](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:capstone) |
| 8 | |
| 9 | Capstone is a disassembly framework with the target of becoming the ultimate |
| 10 | disasm engine for binary analysis and reversing in the security community. |
| 11 | |
| 12 | Created by Nguyen Anh Quynh, then developed and maintained by a small community, |
| 13 | Capstone offers some unparalleled features: |
| 14 | |
| 15 | - Support multiple hardware architectures: ARM, ARM64 (ARMv8), BPF, Ethereum VM, |
| 16 | M68K, M680X, Mips, MOS65XX, PPC, RISC-V(rv32G/rv64G), SH, Sparc, SystemZ, |
| 17 | TMS320C64X, TriCore, Webassembly, XCore and X86 (16, 32, 64). |
| 18 | |
| 19 | - Having clean/simple/lightweight/intuitive architecture-neutral API. |
| 20 | |
| 21 | - Provide details on disassembled instruction (called “decomposer” by others). |
| 22 | |
| 23 | - Provide semantics of the disassembled instruction, such as list of implicit |
| 24 | registers read & written. |
| 25 | |
| 26 | - Implemented in pure C language, with lightweight bindings for Swift, D, Clojure, F#, |
| 27 | Common Lisp, Visual Basic, PHP, PowerShell, Emacs, Haskell, Perl, Python, |
| 28 | Ruby, C#, NodeJS, Java, GO, C++, OCaml, Lua, Rust, Delphi, Free Pascal & Vala |
| 29 | ready either in main code, or provided externally by the community). |
| 30 | |
| 31 | - Native support for all popular platforms: Windows, Mac OSX, iOS, Android, |
| 32 | Linux, \*BSD, Solaris, etc. |
| 33 | |
| 34 | - Thread-safe by design. |
| 35 | |
| 36 | - Special support for embedding into firmware or OS kernel. |
| 37 | |
| 38 | - High performance & suitable for malware analysis (capable of handling various |
| 39 | X86 malware tricks). |
| 40 | |
| 41 | - Distributed under the open source BSD license. |
| 42 | |
| 43 | Further information is available at https://www.capstone-engine.org |
| 44 | |
| 45 | |
| 46 | Compile |
| 47 | ------- |
| 48 | |
| 49 | See COMPILE.TXT file for how to compile and install Capstone. |
| 50 | |
| 51 | |
| 52 | Documentation |
| 53 | ------------- |
| 54 | |
| 55 | See docs/README for how to customize & program your own tools with Capstone. |
| 56 | |
| 57 | |
| 58 | Hack |
| 59 | ---- |
| 60 | |
| 61 | See HACK.TXT file for the structure of the source code. |
| 62 | |
| 63 | |
| 64 | Fuzz |
| 65 | ---- |
| 66 | |
| 67 | See suite/fuzz/README.md for more information. |
| 68 | |
| 69 | |
| 70 | License |
| 71 | ------- |
| 72 | |
| 73 | This project is released under the BSD license. If you redistribute the binary |
| 74 | or source code of Capstone, please attach file LICENSE.TXT with your products. |