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. (bloaty 依赖)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Nguyen Anh Quynh 15b9e7ecb9 cstool: make it compile with GCC on Linux 8 years ago
arch suppress MSVC code analysis (PREfast) warnings 8 years ago
bindings Workaround unicorn handing back bytearrays 8 years ago
contrib fix typo, style 8 years ago
cstool cstool: make it compile with GCC on Linux 8 years ago
docs fix typo, style 8 years ago
include fix typo, style 8 years ago
msvc set warning level 3 from default(4) 9 years ago
packages Update to 3.0.4. Fix EPEL6 build issue 9 years ago
suite fixed issue #726 (snprintf undefined in test_arm_regression) 8 years ago
tests fix typo, style 8 years ago
windows suppress MSVC code analysis (PREfast) warnings 8 years ago
xcode remove myinttypes.h 9 years ago
.appveyor.yml rename appveyor.yml to .appveyor.yml 9 years ago
.gitignore ignore MSVC project upgrade files 8 years ago
.travis.yml support Travis CI 9 years ago
CMakeLists.txt remove myinttypes.h 9 years ago
COMPILE.TXT Improve support for building for Android devices 10 years ago
COMPILE_CMAKE.TXT python: setup.py builds Windows core with cmake in release mode 10 years ago
COMPILE_MSVC.TXT fix typo, style 8 years ago
CREDITS.TXT update CREDITS.TXT 8 years ago
ChangeLog update ChangeLog 9 years ago
HACK.TXT fix typo, style 8 years ago
LEB128.h skip stdint.h for windows driver configuration 9 years ago
LICENSE.TXT a a newline to LICENSE.TXT 11 years ago
LICENSE_LLVM.TXT initial import 11 years ago
MCDisassembler.h Disassembler -> Disassembly 11 years ago
MCFixedLenDisassembler.h Disassembler -> Disassembly 11 years ago
MCInst.c Add support to embed Capstone into OS X kernel extensions. 10 years ago
MCInst.h skip stdint.h for windows driver configuration 9 years ago
MCInstrDesc.c Disassembler -> Disassembly 11 years ago
MCInstrDesc.h skip stdint.h for windows driver configuration 9 years ago
MCRegisterInfo.c Disassembler -> Disassembly. also delete an orphaned file 11 years ago
MCRegisterInfo.h skip stdint.h for windows driver configuration 9 years ago
Makefile cstool: compile/clean/install/uninstall from Makefile 8 years ago
MathExtras.h skip stdint.h for windows driver configuration 9 years ago
README README: add Emacs binding 8 years ago
RELEASE_NOTES update RELEASE_NOTES 9 years ago
SStream.c remove myinttypes.h 9 years ago
SStream.h arm64: set absolute (rather than relative) address B/BL. issue reported by Pancake 10 years ago
TODO TODO 10 years ago
config.mk OS X kernel support (see https://github.com/aquynh/capstone/pull/528) 9 years ago
cs.c suppress MSVC code analysis (PREfast) warnings 8 years ago
cs_priv.h arm: reduce the size of ARM_ITStatus.ITStates[] to 8 10 years ago
functions.mk Makefile: put common functions into functions.mk 11 years ago
make.sh OS X kernel support (see https://github.com/aquynh/capstone/pull/528) 9 years ago
pkgconfig.mk bump version to 3.0.4 10 years ago
utils.c Add support to embed Capstone into OS X kernel extensions. 10 years ago
utils.h fix more MSVC warnings 10 years ago

README

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 bindings for 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.