capstone/suite
Rot127 2fa9f60dcc
[TriCore] Replace one- and sign-extend with MathExtra.h functions. (#2212)
* Replace one- and sign-extend with MathExtra.h functions.

This fixes incorrect sign extensions and reachable
aborts().

* Wrap around PC relative values instead of abort in case of overflow.

---------

Co-authored-by: billow <billow.fun@gmail.com>
2023-12-03 19:15:17 +08:00
..
arm Add Werror to compile options. (#2114) 2023-07-23 23:18:33 +08:00
auto-sync Architecture updater (auto-sync) - Updating AArch64 (#2026) 2023-11-15 12:12:14 +08:00
benchmark update .gitignore 2022-01-04 23:47:08 +08:00
cstest Fix tricore UB (#2204) 2023-11-30 00:20:44 +08:00
fuzz Architecture updater (auto-sync) - Updating AArch64 (#2026) 2023-11-15 12:12:14 +08:00
MC [TriCore] Replace one- and sign-extend with MathExtra.h functions. (#2212) 2023-12-03 19:15:17 +08:00
regress Fix register accesses & operands of multiple PAC instructions 2023-05-16 14:10:00 +02:00
synctools Remove no longer used td files. (#2205) 2023-11-24 11:59:21 +08:00
x86 suite: add some tools to verify X86 machine code 2015-01-06 13:11:04 +07:00
autogen_x86imm.py fix autogen_x86imm.py to handle some special instructions. this fixed issue #411 reported by @pancake 2015-06-30 20:49:55 +08:00
benchmark.py Architecture updater (auto-sync) - Updating AArch64 (#2026) 2023-11-15 12:12:14 +08:00
capstone_get_setup.c Architecture updater (auto-sync) - Updating AArch64 (#2026) 2023-11-15 12:12:14 +08:00
compile_all.sh Architecture updater (auto-sync) - Updating AArch64 (#2026) 2023-11-15 12:12:14 +08:00
disasm_mc.py Architecture updater (auto-sync) - Updating AArch64 (#2026) 2023-11-15 12:12:14 +08:00
disasm_mc.sh suite: add disasm_mc.{py,sh} 2017-05-16 18:15:02 +07:00
fuzz.py Architecture updater (auto-sync) - Updating AArch64 (#2026) 2023-11-15 12:12:14 +08:00
gencstest.py Update tests and inc files 2023-07-01 16:26:54 +08:00
patch_major_os_version.py suite: correct authors of patch_major_os_version.py 2015-05-06 10:40:20 +08:00
ppcbranch.py suite: chmod +x ppcbranch.py 2014-10-01 18:17:37 +08:00
python_capstone_setup.py suite: add python_capstone_setup.py 2015-06-07 15:55:05 +08:00
README suite: add testsuite tool 'test_mc.sh' to compare output of Capstone & LLVM 2014-11-07 17:24:01 +08:00
regress.py Test suite update (#926) 2017-05-12 07:05:11 +07:00
test_all.sh add ci_test steps&&Fixed suite test for python3 2021-11-23 12:27:39 +08:00
test_c.sh Architecture updater (auto-sync) - Updating AArch64 (#2026) 2023-11-15 12:12:14 +08:00
test_corpus3.py Architecture updater (auto-sync) - Updating AArch64 (#2026) 2023-11-15 12:12:14 +08:00
test_corpus.py Architecture updater (auto-sync) - Updating AArch64 (#2026) 2023-11-15 12:12:14 +08:00
test_group_name.py Architecture updater (auto-sync) - Updating AArch64 (#2026) 2023-11-15 12:12:14 +08:00
test_mc.py Architecture updater (auto-sync) - Updating AArch64 (#2026) 2023-11-15 12:12:14 +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 Architecture updater (auto-sync) - Updating AArch64 (#2026) 2023-11-15 12:12:14 +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.