Skip to content
Capstone disassembly/disassembler framework: Core (Arm, Arm64, BPF, EVM, M68K, M680X, MOS65xx, Mips, PPC, RISCV, Sparc, SystemZ, TMS320C64x, Web Assembly, X86, X86_64, XCore) + bindings.
C Java C# Python OCaml Smalltalk Other
Branch: master
Clone or download
kamiyaa and aquynh systemz: fix base/index printing (#1561)
- In cases where base is 0 but index is not, Capstone doesn't print anything
Latest commit 9c84eff Nov 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
arch systemz: fix base/index printing (#1561) Nov 5, 2019
bindings Fix for x86_op record for ocaml bindings (#1539) Sep 26, 2019
contrib Fix user data alignment in MEMBLOCK (#1471) May 9, 2019
cstool Fix typos of MOS65XX (#1390) Feb 18, 2019
docs Update README (#1534) Aug 30, 2019
include Fix CS_ERR_X86_MASM doc typo (#1455) Apr 1, 2019
msvc merge next to master Jul 20, 2018
packages merge next to master Jul 20, 2018
suite Corpus generation is more robust (#1419) Mar 11, 2019
tests MOS65XX: Fix instruction length for indirect addressing modes (#1402) Feb 27, 2019
windows Fix user data alignment in MEMBLOCK (#1471) May 9, 2019
windowsce Added documentation for building for Windows CE. Apr 12, 2016
xcode merge next to master Jul 20, 2018
.appveyor.yml rename appveyor.yml to .appveyor.yml Mar 14, 2016
.gitattributes Fix language statistics by considering *.inc files to be C files. (#1078 Jan 14, 2018
.gitignore fix for make.sh for android (#1523) Jul 26, 2019
.travis.yml add xenial tests (#1404) Mar 1, 2019
CMakeLists.txt Add cmake option to tell whether architectures should be included by … Apr 29, 2019
COMPILE.TXT Update COMPILE.TXT (#1482) May 17, 2019
COMPILE_CMAKE.TXT Add cmake option to tell whether architectures should be included by … Apr 29, 2019
COMPILE_MSVC.TXT Fix CAPSTONE_HAS_PPC flags (#1361) Feb 3, 2019
CREDITS.TXT CREDITS.TXT Feb 11, 2019
ChangeLog ChangeLog Jan 10, 2019
HACK.TXT update HACK.TXT with coding style Feb 1, 2019
LEB128.h Undefined shifts (#1154) Jun 2, 2018
LICENSE.TXT a a newline to LICENSE.TXT Feb 20, 2014
LICENSE_LLVM.TXT initial import Nov 27, 2013
MCDisassembler.h 2015 Mar 4, 2015
MCFixedLenDisassembler.h 2015 Mar 4, 2015
MCInst.c remove unused MCOperand_Init() Jan 22, 2019
MCInst.h remove unused MCOperand_Init() Jan 22, 2019
MCInstrDesc.c merge next to master Jul 20, 2018
MCInstrDesc.h merge next to master Jul 20, 2018
MCRegisterInfo.c merge next to master Jul 20, 2018
MCRegisterInfo.h merge next to master Jul 20, 2018
Makefile fix for make clean fail (#1524) Jul 29, 2019
MathExtras.h fix undefined shift in countLeadingZeros (#1157) Jun 3, 2018
README.md README: pypi downloads Feb 15, 2019
RELEASE_NOTES update SPONSORS.TXT Jan 10, 2019
SPONSORS.TXT update SPONSORS.TXT Jan 10, 2019
SStream.c merge next to master Jul 20, 2018
SStream.h merge next to master Jul 20, 2018
TODO TODO Mar 11, 2015
capstone.pc.in fix include path in pkg-config template (#1276) Oct 23, 2018
cmake.sh fix cmake.sh Apr 29, 2019
config.mk Add support for the MOS65XX family such as the MOS 6502. Dec 6, 2018
cs.c Fix typos of MOS65XX (#1390) Feb 18, 2019
cs_priv.h merge next to master Jul 20, 2018
functions.mk Makefile: put common functions into functions.mk May 1, 2014
make.sh fix for make.sh for android (#1523) Jul 26, 2019
nmake.bat Add cmake option to tell whether architectures should be included by … Apr 29, 2019
pkgconfig.mk next version = 5.0 Jan 9, 2019
utils.c Fix typos. (#1248) Sep 17, 2018
utils.h Fix typos. (#1248) Sep 17, 2018

README.md

Capstone Engine

Build Status Build status pypi package pypi downloads

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), Ethereum VM, M68K, Mips, MOS65XX, PPC, Sparc, SystemZ, TMS320C64X, M680X, 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 bindings for D, Clojure, F#, Common Lisp, Visual Basic, PHP, PowerShell, Emacs, Haskell, Perl, Python, Ruby, C#, NodeJS, Java, GO, C++, OCaml, Lua, Rust, Delphi, Free Pascal & Vala ready either 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

Compile

See COMPILE.TXT file for how to compile and install Capstone.

Documentation

See docs/README for how to customize & program your own tools with Capstone.

Hack

See HACK.TXT file for the structure of the source code.

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.

You can’t perform that action at this time.