Keystone assembler framework: Core (Arm, Arm64, Hexagon, Mips, PowerPC, Sparc, SystemZ & X86) + bindings
C++ OCaml CMake Python C Haskell Other
Latest commit 058e7f3 Jan 6, 2017 @aquynh aquynh committed on GitHub Merge pull request #272 from wsxarcher/master
regression test x86 call [symbol], issue 271
Failed to load latest commit information.
bindings powershell: improve Nov 10, 2016
docs fix mistakes in docs Dec 29, 2016
include/keystone add KS_VERSION_{MAJOR, MINOR, EXTRA} Oct 25, 2016
kstool Revert "fix an MSVC warning for kstool.c" Nov 16, 2016
llvm fix cmake failed problem when cross compile with Android NDK under Wi… Dec 27, 2016
samples add C sample for new option KS_OPT_SYM_RESOLVER in samples/sample.c Oct 2, 2016
suite regression test x86 call [symbol], issue 271 Jan 6, 2017
.appveyor.yml appveyor: no file types May 1, 2016
.gitignore python: PyPi setup Jul 27, 2016
.travis.yml add .travis.yml May 31, 2016
AUTHORS.TXT import Apr 28, 2016
CMakeLists.txt properly use EHsc option for MSVC Nov 16, 2016 support uninstall target. this fixes issue #21 May 2, 2016
COPYING import Apr 28, 2016
CREDITS.TXT update CREDITS.TXT Nov 10, 2016
ChangeLog add ChangeLog & update RELEASE_NOTES Jul 27, 2016
EXCEPTIONS-CLIENT import Apr 28, 2016
LICENSE-COM.TXT fix contact address May 31, 2016 update CREDITS.TXT Nov 10, 2016
RELEASE_NOTES add ChangeLog & update RELEASE_NOTES Jul 27, 2016
SPONSORS.TXT import Apr 28, 2016 afl fuzzer setup May 24, 2016 add 2 new options lib_only & lib32 Jul 21, 2016 add 2 new options lib_only & lib32 Jul 21, 2016 Update Aug 1, 2016
nmake-dll.bat remove 'rmdir /S/Q' from nmake-*.bat Apr 29, 2016
nmake-lib.bat remove 'rmdir /S/Q' from nmake-*.bat Apr 29, 2016
pkg-config.pc.cmake Added ability to auto generate and install a keystone.pc file Jun 4, 2016

Keystone Engine

Build Status Build Status Build status

Keystone is a lightweight multi-platform, multi-architecture assembler framework. It offers some unparalleled features:

  • Multi-architecture, with support for Arm, Arm64 (AArch64/Armv8), Hexagon, Mips, PowerPC, Sparc, SystemZ & X86 (include 16/32/64bit).
  • Clean/simple/lightweight/intuitive architecture-neutral API.
  • Implemented in C/C++ languages, with bindings for PowerShell, Perl, Python, NodeJS, Ruby, Go, Rust, Haskell & OCaml available.
  • Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris confirmed).
  • Thread-safe by design.
  • Open source - with a dual license.

Keystone is based on LLVM, but it goes much further with a lot more to offer.

Further information is available at


Keystone is available under a dual license:

  • Version 2 of the GNU General Public License (GPLv2). (I.e. Without the "any later version" clause.). License information can be found in the COPYING file and the EXCEPTIONS-CLIENT file.

    This combination allows almost all of open source projects to use Keystone without conflicts.

  • For commercial usage in production environments, contact the authors of Keystone to buy a royalty-free license.

    See LICENSE-COM.TXT for more information.

Compilation & Docs

See file for how to compile and install Keystone.

More documentation is available in docs/


Contact us via mailing list, email or twitter for any questions.


Keystone is impossible without generous support from our sponsors. We cannot thank them enough!

CREDITS.TXT records other important contributors of our project.

If you want to contribute, please pick up something from our Github issues.

We also maintain a list of more challenged problems in a TODO list.