Download
The current version is 5.0, which was released on .
See the version history for a list of changes.
NOTE: Capstone has been released under the BSD license. There is no obligation, except that products using Capstone need to redistribute in the same package file LICENSE.TXT found the source of Capstone.
Git repository
The latest version of the source code can be retrieved at our Git repository.
Package repositories
At the moment Capstone are available for Mac OSX, Ubuntu, Debian, Fedora Core, FreeBSD, OpenBSD, NetBSD & Python in some package repositories. See Documentation for instructions.
Source archive
This package contains:
- The complete source code for the Capstone framework.
- Bindings for Java, Python, Ocaml, PowerShell and VB6.
- A collection of example and test programs.
This is the recommended version for all platforms.
Community bindings
Besides PowerShell, Python, Java & Ocaml get supported in the main code, some bindings for other languages are created and maintained by the community.
- Gapstone: Go binding (by Ben Nagy).
- Crabstone: Ruby binding (by Ben Nagy).
- Capstone-Vala: Vala binding (by Pancake).
- Capstone.NET: .NET framework binding (by Ahmed Garhy).
- Node-Capstone: NodeJS binding (by Jason Oster).
- CCcapstone: C++ binding (by Peter Hlavaty).
- LuaCapstone: Lua binding (by Antonio Davide).
- Capstone-RS: Rust binding (by Richo Healey).
- Capstone-Perl: Perl binding (by Tosh).
- TCapstone: Delphi/Free Pascal binding (by Stievie).
- CapstoneJ: Java binding (by Keve Müller).
- Hapstone: Haskell binding (by ibabushkin).
- Emacs-capstone: Emacs (elisp) binding (by Bas Alberts).
- PHP-capstone: PHP binding (by Fadhil Mandaga).
- Common Lisp: Common Lisp binding (by Jingtao Xu).
- Capstone.FSharp: F# binding (by Cagyirey).
- Capstone-Clj: Clojure binding (by Willi Ballenthin).
- capstone-d: D binding (by Dimitri Bohlender).
- C# binding (by Matt Graeber) (Note: this is only for the older version Capstone 2.0).
Python module for Windows/MacOS/Linux - Binaries
With pip
, you can easily install Python module for either Windows, MacOS or Linux.
In case you wish to upgrade from older version of Capstone, do:
Remember to stick “sudo” in front for root privilege if needed.
Brew package for MacOS - Binaries
Install Brew package of Capstone on MacOS with:
In case you wish to upgrade from older version of Capstone, do: