Security

Capstone – multi-architecture disassembly framework

Capstone is a lightweight disassembly framework intended for embedding in binary analysis and reverse-engineering applications. It provides an architecture-neutral API over a very broad collection of instruction sets, allowing software to decode machine code without implementing separate disassemblers for each target.

Capstone is a framework rather than a complete interactive binary analyser. Its main role is to supply accurate instruction decoding and detailed metadata to security tools, debuggers, reverse-engineering applications and custom scripts. Its relatively small C core also makes it suitable for constrained environments.

This is free and open source software.

Key Features

  • Support a large collection of processor architectures and virtual instruction sets.
  • Decode x86 code in 16-bit, 32-bit and 64-bit modes.
  • Support ARM, AArch64, MIPS, PowerPC, RISC-V, SPARC and SystemZ.
  • Cover additional targets including Alpha, BPF, M68K, SH, TriCore, Xtensa and WebAssembly.
  • Provide a consistent architecture-neutral programming interface.
  • Return detailed information about decoded operands.
  • Report implicit registers read and written by instructions.
  • Expose instruction semantic information useful to higher-level analyses.
  • Use a compact C implementation suitable for embedding.
  • Be thread-safe by design.
  • Support embedding in firmware and operating-system kernels.
  • Offer reduced-footprint operation for constrained environments.
  • Handle instruction patterns encountered during malware analysis.
  • Provide bindings for Python, C#, Java, Go, Rust, Ruby, Lua and many other languages.
  • Run natively on Linux and other major operating systems.
  • Use extensive automated testing and fuzzing.

Website: github.com/capstone-engine/capstone
Support:
Developer: Nguyen Anh Quynh and contributors
License: BSD 3-Clause License

Capstone is written in C.


Related Software

Binary Analysis Tools
GhidraSoftware reverse engineering framework
Radare2Portable reversing framework
CutterGraphical reverse engineering platform
Detect it EasyFile inspection utility
ImHexAnalyze binary data
capaCommand line malware analysis tool
binwalkSearch a given binary image for embedded files
FLOSSFLARE Obfuscated String Solver
unblobExtraction suite for working with unknown binary blobs
RizinUNIX-like reverse engineering framework
LIEFWork with executable and binary formats
RetDecRetargetable machine-code decompiler

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted