blob: fc9b59a58559e98330e5149fb226fc70049c8be7 [file] [log] [blame]
Nguyen Anh Quynh52b17542014-01-07 22:29:26 +08001This directory contains some tools used by developers of Capstone project.
2Average users should ignore all the contents here.
3
4
Nguyen Anh Quynh8ba72502014-11-07 17:24:01 +08005- arm/
6 Test some ARM's special input.
7
8- MC/
9 Input used to test various architectures & modes.
10
Nguyen Anh Quynh52b17542014-01-07 22:29:26 +080011- 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.
Nguyen Anh Quynhea807fb2014-01-08 08:54:26 +080018
19- compile_all.sh
20 Compile Capstone for all platforms (*nix32, clang, cygwin, cross-compile) &
21 report the result as pass or fail.
Nguyen Anh Quynh07ceab82014-03-04 12:32:05 +080022
23- fuzz.py
24 This simple script disassembles random code for all archs (or selected arch)
25 in order to find segfaults.
Nguyen Anh Quynh8ba72502014-11-07 17:24:01 +080026
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.