mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-10-07 02:43:23 +00:00
404912f068
* resolve conflict for loongarch and RISCV in Mapping.c and Mapping.h * Use RISCV_get_detail for simplicity Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com> * Use detail_is_set for simplicity Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com> * Change comment style Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com> * remove redundant add_str * fix bug for RISCV_add_detail * fix operands for csr instructions * add python binding and tester for RISC-V * add more test cases for RISC-V (M,A,F,D,C instructions) * fix incorrect operand and access for sc.w and sc.d * fix incorrect operand for fence and sfence.vma * assert -> CS_ASSERT * some instructions in test_riscv.c should be RISCV64 * add cs details test * update python testers --------- Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com> |
||
---|---|---|
.. | ||
arm | ||
auto-sync | ||
benchmark | ||
cstest | ||
fuzz | ||
MC | ||
regress | ||
synctools | ||
x86 | ||
autogen_x86imm.py | ||
benchmark.py | ||
capstone_get_setup.c | ||
compile_all.sh | ||
disasm_mc.py | ||
disasm_mc.sh | ||
fuzz.py | ||
gencstest.py | ||
patch_major_os_version.py | ||
ppcbranch.py | ||
python_capstone_setup.py | ||
README | ||
regress.py | ||
run_invalid_cstool.sh | ||
test_all.sh | ||
test_c.sh | ||
test_corpus3.py | ||
test_group_name.py | ||
test_mc.py | ||
test_mc.sh | ||
test_python.sh | ||
x86odd.py |
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.