capstone/suite
learn_more 1ebc5e3f40 Validate group names against a hardcoded list per arch.
Also test out-of range values (by overshooting the current max for all arches).

This relies on a small hack (directly importing the ctypes from capstone), because the Cs object does not expose the cs_group_name function directly.
2015-04-25 18:04:37 +02:00
..
arm inttypes.h fix 2015-03-29 18:29:06 +08:00
MC suite: update Mips modes of MC input to CS_MODE_MIPS32 & CS_MODE_MIPS64 2014-11-13 12:46:48 +08:00
benchmark.py suite: change CS_MODE_32 -> CS_MODE_MIPS32, CS_MODE_64 -> CS_MODE_MIPS64 for fuzz.py & benchmark.py 2014-11-17 17:38:18 +08:00
compile_all.sh last change to support BSD broke cross-comple. fix Makefile so cross-compile work again 2014-01-16 21:07:59 +08:00
fuzz.py suite: change CS_MODE_32 -> CS_MODE_MIPS32, CS_MODE_64 -> CS_MODE_MIPS64 for fuzz.py & benchmark.py 2014-11-17 17:38:18 +08:00
ppcbranch.py suite: chmod +x ppcbranch.py 2014-10-01 18:17:37 +08:00
README suite: add testsuite tool 'test_mc.sh' to compare output of Capstone & LLVM 2014-11-07 17:24:01 +08:00
test_all.sh suite: add test_all.sh 2014-01-21 12:02:30 +08:00
test_c.sh suite: add missing tests to test_c.sh 2014-11-13 11:39:58 +08:00
test_group_name.py Validate group names against a hardcoded list per arch. 2015-04-25 18:04:37 +02:00
test_mc.py suite: update Mips modes of MC input to CS_MODE_MIPS32 & CS_MODE_MIPS64 2014-11-13 12:46:48 +08:00
test_mc.sh suite: add testsuite tool 'test_mc.sh' to compare output of Capstone & LLVM 2014-11-07 17:24:01 +08:00
test_python.sh suite: add Sparc support 2014-03-10 15:44:48 +08:00
x86odd.py suite: add crc32 instruction to x86odd.py 2014-11-16 19:48:41 +08:00

This directory contains some tools used by developers of Capstone project.
Average users should ignore all the contents here.


- arm/
	Test some ARM's special input.

- MC/
	Input used to test various architectures & modes.

- benchmark.py
	This script benchmarks Python binding by disassembling some random code.

- test_*.sh
	Run all the tests and send the output to external file to be compared later.
	This is useful when we want to verify if a commit (wrongly) changes
	the disassemble result.

- compile_all.sh
	Compile Capstone for all platforms (*nix32, clang, cygwin, cross-compile) &
	report the result as pass or fail.

- fuzz.py
	This simple script disassembles random code for all archs (or selected arch)
	in order to find segfaults.

- test_mc.sh
    This script compares the output of Capstone with LLVM's llvm-mc with the
	input coming from MC/. This relies on test_mc.py to do all the hard works.

- x86odd.py
	Test some tricky X86 instructions.

- ppcbranch.py
	Test some tricky branch PPC instructions.