• Home
Name Date Size #Lines LOC

..--

MC/03-May-2024-19,47317,964

arm/03-May-2024-408319

benchmark/03-May-2024-11468

cstest/03-May-2024-3,1722,560

fuzz/03-May-2024-1,122922

regress/03-May-2024-9269

x86/03-May-2024-53

READMED03-May-20241 KiB3625

autogen_x86imm.pyD03-May-20243.4 KiB9177

benchmark.pyD03-May-20243.5 KiB12976

capstone_get_setup.cD03-May-20241.3 KiB8352

compile_all.shD03-May-2024545 3121

disasm_mc.pyD03-May-20247.4 KiB189147

disasm_mc.shD03-May-2024315 121

fuzz.pyD03-May-20243.8 KiB12577

patch_major_os_version.pyD03-May-2024790 3015

ppcbranch.pyD03-May-20241.7 KiB5440

python_capstone_setup.pyD03-May-2024127 51

regress.pyD03-May-202480.6 KiB751715

test_all.shD03-May-2024202 102

test_c.shD03-May-2024555 1812

test_corpus.pyD03-May-20245 KiB130107

test_group_name.pyD03-May-20246.5 KiB248221

test_mc.pyD03-May-202410.2 KiB263202

test_mc.shD03-May-2024599 161

test_python.shD03-May-2024531 148

x86odd.pyD03-May-20243.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