Name Date Size #Lines LOC

..--

MC/H25-Apr-2025-19,47317,964

arm/H25-Apr-2025-408319

benchmark/H25-Apr-2025-11468

cstest/H25-Apr-2025-3,1722,560

fuzz/H25-Apr-2025-1,122922

regress/H25-Apr-2025-9269

x86/H25-Apr-2025-53

READMEH A D25-Apr-20251 KiB3625

autogen_x86imm.pyH A D25-Apr-20253.4 KiB9177

benchmark.pyH A D25-Apr-20253.5 KiB12976

capstone_get_setup.cH A D25-Apr-20251.3 KiB8352

compile_all.shH A D25-Apr-2025545 3121

disasm_mc.pyH A D25-Apr-20257.4 KiB189147

disasm_mc.shH A D25-Apr-2025315 121

fuzz.pyH A D25-Apr-20253.8 KiB12577

patch_major_os_version.pyH A D25-Apr-2025790 3015

ppcbranch.pyH A D25-Apr-20251.7 KiB5440

python_capstone_setup.pyH A D25-Apr-2025127 51

regress.pyH A D25-Apr-202580.6 KiB751715

test_all.shH A D25-Apr-2025202 102

test_c.shH A D25-Apr-2025555 1812

test_corpus.pyH A D25-Apr-20255 KiB130107

test_group_name.pyH A D25-Apr-20256.5 KiB248221

test_mc.pyH A D25-Apr-202510.2 KiB263202

test_mc.shH A D25-Apr-2025599 161

test_python.shH A D25-Apr-2025531 148

x86odd.pyH A D25-Apr-20253.7 KiB10778

README

1This directory contains some tools used by developers of Capstone project.
2Average users should ignore all the contents here.
3
4
5- arm/
6	Test some ARM's special input.
7
8- MC/
9	Input used to test various architectures & modes.
10
11- benchmark.py
12	This script benchmarks Python binding by disassembling some random code.
13
14- test_*.sh
15	Run all the tests and send the output to external file to be compared later.
16	This is useful when we want to verify if a commit (wrongly) changes
17	the disassemble result.
18
19- compile_all.sh
20	Compile Capstone for all platforms (*nix32, clang, cygwin, cross-compile) &
21	report the result as pass or fail.
22
23- fuzz.py
24	This simple script disassembles random code for all archs (or selected arch)
25	in order to find segfaults.
26
27- test_mc.sh
28    This script compares the output of Capstone with LLVM's llvm-mc with the
29	input coming from MC/. This relies on test_mc.py to do all the hard works.
30
31- x86odd.py
32	Test some tricky X86 instructions.
33
34- ppcbranch.py
35	Test some tricky branch PPC instructions.
36