• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 This directory contains some tools used by developers of Capstone project.
2 Average 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