Capstone disassembly/disassembler framework: Core (Arm, Arm64, BPF, EVM, M68K, M680X, MOS65xx, Mips, PPC, RISCV, Sparc, SystemZ, TMS320C64x, Web Assembly, X86, X86_64, XCore) + bindings. (bloaty 依赖)
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.
 
 
 
 
 
 
Catena cyber 0f16742234 Corpus generation is more robust (#1419) 6 years ago
..
MC Integrate into travis cli (#1378) 6 years ago
arm fixed issue #726 (snprintf undefined in test_arm_regression) 8 years ago
benchmark
cstest normalize in issue mode (#1414) 6 years ago
fuzz
regress merge next to master 6 years ago
x86 suite: add some tools to verify X86 machine code 10 years ago
README suite: add testsuite tool 'test_mc.sh' to compare output of Capstone & LLVM 10 years ago
autogen_x86imm.py fix autogen_x86imm.py to handle some special instructions. this fixed issue #411 reported by @pancake 9 years ago
benchmark.py
capstone_get_setup.c Fix typos of MOS65XX (#1390) 6 years ago
compile_all.sh
disasm_mc.py
disasm_mc.sh
fuzz.py This adds M68K support to Capstone 9 years ago
patch_major_os_version.py
ppcbranch.py
python_capstone_setup.py
regress.py
test_all.sh
test_c.sh
test_corpus.py Corpus generation is more robust (#1419) 6 years ago
test_group_name.py
test_mc.py
test_mc.sh
test_python.sh
x86odd.py suite: add crc32 instruction to x86odd.py 10 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.