1## Command capstone-disassemble ##
2
3If you have installed the [`capstone`](http://capstone-engine.org) library and
4its Python bindings, you can use it to disassemble any memory in your debugging
5session. This plugin was created to offer an alternative to `GDB`'s disassemble
6function which sometimes gets things mixed up.
7
8You can use its alias `cs-disassemble` or just `cs` with the location to
9disassemble at. If not specified, it will use `$pc`.
10
11```
12gef➤ cs main+0x10
13```
14
15![cs-disassemble](https://i.imgur.com/JG7aVRP.png)
16
17Disassemble more instructions
18
19```
20gef➤ cs --length 20
21```
22
23Show opcodes next to disassembly
24```
25gef➤ cs --show-opcodes
26```
27