Nguyen Anh Quynh | 52b1754 | 2014-01-07 22:29:26 +0800 | [diff] [blame] | 1 | This directory contains some tools used by developers of Capstone project. |
| 2 | Average users should ignore all the contents here. |
| 3 | |
| 4 | |
Nguyen Anh Quynh | 8ba7250 | 2014-11-07 17:24:01 +0800 | [diff] [blame] | 5 | - arm/ |
| 6 | Test some ARM's special input. |
| 7 | |
| 8 | - MC/ |
| 9 | Input used to test various architectures & modes. |
| 10 | |
Nguyen Anh Quynh | 52b1754 | 2014-01-07 22:29:26 +0800 | [diff] [blame] | 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. |
Nguyen Anh Quynh | ea807fb | 2014-01-08 08:54:26 +0800 | [diff] [blame] | 18 | |
| 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 Quynh | 07ceab8 | 2014-03-04 12:32:05 +0800 | [diff] [blame] | 22 | |
| 23 | - fuzz.py |
| 24 | This simple script disassembles random code for all archs (or selected arch) |
| 25 | in order to find segfaults. |
Nguyen Anh Quynh | 8ba7250 | 2014-11-07 17:24:01 +0800 | [diff] [blame] | 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. |