capstone/suite
billow 21f7bc85f9
Xtensa Support (#2380)
* Fix leaks

* Remove unnecessary new lines

* Add checks for actual buffer length before attempting reading it.

* Xtensa: add xtensa support

* Xtensa fixes

- fix MCExpr
- fix Xtensa_add_cs_detail
- add `add_cs_detail`
- add `MCExpr *MCOperand_getExpr(const MCOperand *MC)` `void printExpr(const MCExpr *E, SStream *O)`

autosync fix

- fix StreamOperation.py
- replace `report_fatal_error` with `CS_ASSERT`
- fix patch StreamOperation.py
- replace `assert` with `CS_ASSERT`
- fix AddCSDetail.py
- fix QualifiedIdentifier

* Xtensa fix

* Xtensa fix .py

* add Xtensa to the fuzzer

* Xtensa `LITBASE`: add a basic implementation

* Xtensa `LITBASE`: add a integration test

* Xtensa: fix cs_v6_release_guide.md

* Xtensa: fix `XTENSA_OP_GROUP_MEMOPERAND`

* Xtensa: fix

* Xtensa: fix Targets.py

* Use isUint and isInt all over Xtensa

* Add documentation about LITBASE functionality

* Fix typo

* Replace hard with Capstone assert

* Xtensa: fix arch_config.json

* Xtensa: fix

---------

Co-authored-by: Rot127 <unisono@quyllur.org>
2024-09-30 11:35:51 +08:00
..
auto-sync Xtensa Support (#2380) 2024-09-30 11:35:51 +08:00
benchmark update .gitignore 2022-01-04 23:47:08 +08:00
cstest Xtensa Support (#2380) 2024-09-30 11:35:51 +08:00
fuzz Xtensa Support (#2380) 2024-09-30 11:35:51 +08:00
MC Xtensa Support (#2380) 2024-09-30 11:35:51 +08:00
synctools chore: fix some comments (#2432) 2024-08-12 12:01:22 +08:00
x86 suite: add some tools to verify X86 machine code 2015-01-06 13:11:04 +07:00
autogen_x86imm.py fix typos (#2344) 2024-04-30 10:37:53 +08:00
benchmark.py Architecture updater (auto-sync) - Updating AArch64 (#2026) 2023-11-15 12:12:14 +08:00
capstone_get_setup.c Xtensa Support (#2380) 2024-09-30 11:35:51 +08:00
check_wheel_bin_arch.py [next] Wheel build fixes: manylinux1, trigger upload on release, Linux AArch64... (#2444) 2024-08-19 16:33:08 +08:00
fuzz.py SystemZ Auto-Sync refactor (#2462) 2024-09-14 16:57:54 +08:00
patch_major_os_version.py Use python3 as default interpreter for all python scripts (#2390) 2024-06-19 18:52:51 +08:00
ppcbranch.py Use python3 as default interpreter for all python scripts (#2390) 2024-06-19 18:52:51 +08:00
python_capstone_setup.py suite: add python_capstone_setup.py 2015-06-07 15:55:05 +08:00
README Modern Testing (#2456) 2024-08-31 21:33:38 +08:00
regress.py Use python3 as default interpreter for all python scripts (#2390) 2024-06-19 18:52:51 +08:00
run_invalid_cstool.sh Add test with ASAN enabled. (#2313) 2024-06-10 10:01:00 +08:00
test_corpus3.py SystemZ Auto-Sync refactor (#2462) 2024-09-14 16:57:54 +08:00
x86odd.py Use python3 as default interpreter for all python scripts (#2390) 2024-06-19 18:52:51 +08:00

This directory contains some tools used by developers of Capstone project.
Average users should ignore all the contents here.


- benchmark.py
	This script benchmarks Python binding by disassembling some random code.

- 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.

- x86odd.py
	Test some tricky X86 instructions.

- ppcbranch.py
	Test some tricky branch PPC instructions.