capstone/suite
Rot127 104f693c11 Architecture updater (auto-sync) - Updating ARM (#1949)
* Add auto-sync updater.

* Update Capstone core with auto-sync changes.

* Update ARM via auto-sync.

* Make changes to arch modules which are introduced by auto-sync.

* Update tests for ARM.

* Fix build warnings for make

* Remove meson.build

* Print shift amount in decimal

* Patch non LLVM register alias.

* Change type of immediate operand to unsiged (due to: #771)

* Replace all occurances of a register with its alias.

* Fix printing of signed imms

* Print rotate amount in decimal

* CHange imm type to int64_t to match LLVM imm type.

* Fix search for register names, by completing string first.

* Print ModImm operands always in decimal

* Use number format of previous capstone version.

* Correct implicit writes and update_flags according to SBit.

* Add missing test for RegImmShift

* Reverse incorrect comparision.

* Set shift information for move instructions.

* Set mem access for all memory operands

* Set subtracted flag if offset is negative.

* Add flag for post-index memory operands.

* Add detail op for BX_RET and MOVPCLR

* Use instruction post_index operand.

* Add VPOP and VPUSH as unique CS IDs.

* Add shifting info for MOVsr.

* Add TODOs.

* Add in LLVM hardcoded operands to detail.

* Move detail editing from InstPrinter to Mapping

* Formatting

* Add removed check.

* Add writeback register and constraints to RFEI instructions.

* Translate shift immediate

* Print negative immediates

* Remove duplicate invalid entry

* Add CS groups to instructions

* Fix write attriutes of stores.

* Add missing names of added instructions

* Fix LLVM bug

* Add more post_index flags

* http -> https

* Make generated functions static

* Remove tab prefix for alias instructions.

* Set ValidateMCOperand to NULL.

* Fix AddrMode3Operand operands

* Allow getting system and banked register name via API

* Add writeback to STC/LDC instructions.

* Fix (hopefully) last case where disp is negative and subtracted = true

* Remove accidentially introduced regressions
2023-07-19 17:56:27 +08:00
..
arm Architecture updater (auto-sync) - Updating ARM (#1949) 2023-07-19 17:56:27 +08:00
auto-sync Architecture updater (auto-sync) - Updating ARM (#1949) 2023-07-19 17:56:27 +08:00
benchmark update .gitignore 2022-01-04 23:47:08 +08:00
cstest Architecture updater (auto-sync) - Updating ARM (#1949) 2023-07-19 17:56:27 +08:00
fuzz Architecture updater (auto-sync) - Updating ARM (#1949) 2023-07-19 17:56:27 +08:00
MC Architecture updater (auto-sync) - Updating ARM (#1949) 2023-07-19 17:56:27 +08:00
regress Fix register accesses & operands of multiple PAC instructions 2023-05-16 14:10:00 +02:00
synctools Merge pull request #1925 from FinnWilkinson/next 2022-10-24 19:10:17 +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 RISCV support ISRV32/ISRV64 (#1401) 2019-03-09 08:41:12 +08:00
capstone_get_setup.c Fix tricore python binding 2023-04-24 22:18:07 +08:00
compile_all.sh last change to support BSD broke cross-comple. fix Makefile so cross-compile work again 2014-01-16 21:07:59 +08:00
disasm_mc.py RISCV support ISRV32/ISRV64 (#1401) 2019-03-09 08:41:12 +08:00
disasm_mc.sh suite: add disasm_mc.{py,sh} 2017-05-16 18:15:02 +07:00
fuzz.py RISCV support ISRV32/ISRV64 (#1401) 2019-03-09 08:41:12 +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 add ci_test steps&&Fixed suite test for python3 2021-11-23 12:27:39 +08:00
test_corpus.py Architecture updater (auto-sync) - Updating ARM (#1949) 2023-07-19 17:56:27 +08:00
test_corpus3.py Architecture updater (auto-sync) - Updating ARM (#1949) 2023-07-19 17:56:27 +08:00
test_group_name.py RISCV: add more instruction groups 2023-05-01 22:55:26 +02:00
test_mc.py Add missing comma (#1458) 2019-04-12 01:15:11 +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 suite: add Sparc support 2014-03-10 15:44:48 +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.