You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
_xeroxz 305167eb51
init commit
2 years ago
..
MC init commit 2 years ago
arm init commit 2 years ago
benchmark init commit 2 years ago
cstest init commit 2 years ago
fuzz init commit 2 years ago
regress init commit 2 years ago
x86 init commit 2 years ago
README init commit 2 years ago
autogen_x86imm.py init commit 2 years ago
benchmark.py init commit 2 years ago
capstone_get_setup.c init commit 2 years ago
compile_all.sh init commit 2 years ago
disasm_mc.py init commit 2 years ago
disasm_mc.sh init commit 2 years ago
fuzz.py init commit 2 years ago
patch_major_os_version.py init commit 2 years ago
ppcbranch.py init commit 2 years ago
python_capstone_setup.py init commit 2 years ago
regress.py init commit 2 years ago
test_all.sh init commit 2 years ago
test_c.sh init commit 2 years ago
test_corpus.py init commit 2 years ago
test_group_name.py init commit 2 years ago
test_mc.py init commit 2 years ago
test_mc.sh init commit 2 years ago
test_python.sh init commit 2 years ago
x86odd.py init commit 2 years ago

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.