android13/external/capstone/suite
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
MC initial 2024-06-22 20:45:49 +08:00
arm initial 2024-06-22 20:45:49 +08:00
benchmark initial 2024-06-22 20:45:49 +08:00
cstest initial 2024-06-22 20:45:49 +08:00
fuzz initial 2024-06-22 20:45:49 +08:00
regress initial 2024-06-22 20:45:49 +08:00
x86 initial 2024-06-22 20:45:49 +08:00
README initial 2024-06-22 20:45:49 +08:00
autogen_x86imm.py initial 2024-06-22 20:45:49 +08:00
benchmark.py initial 2024-06-22 20:45:49 +08:00
capstone_get_setup.c initial 2024-06-22 20:45:49 +08:00
compile_all.sh initial 2024-06-22 20:45:49 +08:00
disasm_mc.py initial 2024-06-22 20:45:49 +08:00
disasm_mc.sh initial 2024-06-22 20:45:49 +08:00
fuzz.py initial 2024-06-22 20:45:49 +08:00
patch_major_os_version.py initial 2024-06-22 20:45:49 +08:00
ppcbranch.py initial 2024-06-22 20:45:49 +08:00
python_capstone_setup.py initial 2024-06-22 20:45:49 +08:00
regress.py initial 2024-06-22 20:45:49 +08:00
test_all.sh initial 2024-06-22 20:45:49 +08:00
test_c.sh initial 2024-06-22 20:45:49 +08:00
test_corpus.py initial 2024-06-22 20:45:49 +08:00
test_group_name.py initial 2024-06-22 20:45:49 +08:00
test_mc.py initial 2024-06-22 20:45:49 +08:00
test_mc.sh initial 2024-06-22 20:45:49 +08:00
test_python.sh initial 2024-06-22 20:45:49 +08:00
x86odd.py initial 2024-06-22 20:45:49 +08:00

README

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.