Section 1 · User commands

cstool.1

Package: capstone

CSTOOL

NAME
DESCRIPTION


NAME

Cstool − manual page for Cstool for Capstone Disassembler Engine

DESCRIPTION

Cstool for Capstone Disassembler Engine

Syntax: cstool [−d|−s|−u|−v] <arch+mode> <assembly−hexstring> [start−address−in−hex−format]

The following <arch+mode> options are supported:

x1616−bit mode (X86)
x3232−bit mode (X86)
x6464−bit mode (X86)
x16att16−bit mode (X86), syntax AT&T
x32att32−bit mode (X86), syntax AT&T
x64att64−bit mode (X86), syntax AT&T
armarm
armbearm + big endian
thumbthumb mode

thumbbe

thumb + big endian

cortexm

thumb + cortex−m extensions

armv8arm v8

thumbv8

thumb v8

armv8be

arm v8 + big endian

thumbv8be

thumb v8 + big endian

arm64aarch64 mode

arm64be

aarch64 + big endian

mipsmips32 + little endian
mipsbemips32 + big endian
mips64mips64 + little endian

mips64be

mips64 + big endian

ppc32ppc32 + little endian

ppc32be

ppc32 + big endian

ppc32qpx

ppc32 + qpx + little endian

ppc32beqpx

ppc32 + qpx + big endian

ppc32ps

ppc32 + ps + little endian

ppc32beps

ppc32 + ps + big endian

ppc64ppc64 + little endian

ppc64be

ppc64 + big endian

ppc64qpx

ppc64 + qpx + little endian

ppc64beqpx

ppc64 + qpx + big endian

sparcsparc

systemz

systemz (s390x)

xcorexcore
m68km68k + big endian
m68k40m68k_040

tms320c64x

TMS320C64x

m6800M6800/2
m6801M6801/3
m6805M6805
m6808M68HC08
m6809M6809
m6811M68HC11
cpu12M68HC12/HCS12
hd6301HD6301/3
hd6309HD6309
hcs08HCS08
evmEthereum Virtual Machine
6502MOS 6502
65c02WDC 65c02
w65c02WDC w65c02
65816WDC 65816 (long m/x)
wasm:Web Assembly
bpfClassic BPF
bpfbeClassic BPF + big endian
ebpfExtended BPF
ebpfbeExtended BPF + big endian

riscv32

riscv32

riscv64

riscv64

shsuperh SH1
sh2superh SH2
sh2esuperh SH2E
sh2dspsuperh SH2−DSP
sh2asuperh SH2A

sh2afpu

superh SH2A−FPU

sh3superh SH3
sh3besuperh SH3 big endian
sh3esuperh SH3E
sh3ebesuperh SH3E big endian

sh3−dsp

superh SH3−DSP

sh3−dspbe

superh SH3−DSP big endian

sh4superh SH4
sh4besuperh SH4 big endian
sh4asuperh SH4A
sh4abesuperh SH4A big endian

sh4al−dsp

superh SH4AL−DSP

sh4al−dspbe superh SH4AL−DSP big endian tc110 tricore V1.1 tc120 tricore V1.2 tc130 tricore V1.3 tc131 tricore V1.3.1 tc160 tricore V1.6 tc161 tricore V1.6.1 tc162 tricore V1.6.2

Extra options:

−d show detailed information of the instructions
−s decode in SKIPDATA mode
−u show immediates as unsigned
−v show version & Capstone core build info