Capstone supports an impressive breadth of architectures. However, if all you need is x86/AMD64 decoding and disassembly, there are much higher quality (in terms of accurate decoding) libraries out there.<p>I wrote a differential fuzzer for x86 decoders a few years ago, and XED and Zydis generally performed far better (in terms of accuracy) than Capstone[1]. And on the Rust side, yaxpeax and iced-x86 perform very admirably.<p>[1]: <a href="https://blog.trailofbits.com/2019/10/31/destroying-x86_64-instruction-decoders-with-differential-fuzzing/" rel="nofollow">https://blog.trailofbits.com/2019/10/31/destroying-x86_64-in...</a>
Capstone is very useful!<p>Someone (not me) has also cross-compiled Capstone to WebAssembly so it can be used in client-side browser applications.<p><a href="https://alexaltea.github.io/capstone.js/" rel="nofollow">https://alexaltea.github.io/capstone.js/</a><p>I've used this in a couple of projects to support disassembly in static web apps with no back end.
It's difficult to find a succinct overview. Here is a slide deck buried among links: <a href="http://www.capstone-engine.org/BHUSA2014-capstone.pdf" rel="nofollow">http://www.capstone-engine.org/BHUSA2014-capstone.pdf</a>
If you find Capstone interesting, check out the Unicorn Engine.<p><a href="https://github.com/unicorn-engine/unicorn">https://github.com/unicorn-engine/unicorn</a><p>Also, if anyone is interested in an example of using capstone for basic disassembly and analysis, here is a link to my capstool project.<p><a href="https://github.com/alexander-hanel/capstool">https://github.com/alexander-hanel/capstool</a>
It is also used in one of the Linux kernel debuggers: <a href="https://codeberg.org/pf-kernel/crush" rel="nofollow">https://codeberg.org/pf-kernel/crush</a>
Another good replacement for capstone/keystone based on LLVM is nyxstone <a href="https://github.com/emproof-com/nyxstone">https://github.com/emproof-com/nyxstone</a>
Haven't had a chance to use capstone yet, but a project I really like happens to use it.<p><a href="https://github.com/xoreaxeaxeax/sandsifter">https://github.com/xoreaxeaxeax/sandsifter</a>
Imhex is a really great frontend for Capstone.
<a href="https://github.com/WerWolv/ImHex">https://github.com/WerWolv/ImHex</a>