mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-23 13:39:46 +00:00
aaffb38c44
* Constify registerinfo.py output Remove two conditionals separating identical bits of code. Add "const" markup to MCRegisterDesc and MCRegisterClass. Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify instrinfo-arch.py output In this case, do not actively strip const. Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify the AArch64 backend Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify the EVM backend Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify M680X backend Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify M68K backend Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify the Mips backend The Mips backend has not been regenerated from LLVM recently, and there are more fixups required than I'd like. Just apply the fixes to the tables by hand for now. Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify the Sparc backend Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify the TMS320C64x backend Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify the X86 backend Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify the XCore backend Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify systemregister.py output Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify the ARM backend Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify the PowerPC backend Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify the MOS65XX backend Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify the SystemZ backend The mapping of system register to indexes is easy to generate read-only. Since we know the indexes are between 0 and 31, use uint8_t instead of unsigned. Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify the WASM backend Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify cs.c Signed-off-by: Richard Henderson <rth@twiddle.net> * Constify the BPF backend Signed-off-by: Richard Henderson <rth@twiddle.net> |
||
---|---|---|
.. | ||
arm | ||
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 | ||
patch_major_os_version.py | ||
ppcbranch.py | ||
python_capstone_setup.py | ||
README | ||
regress.py | ||
test_all.sh | ||
test_c.sh | ||
test_corpus.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.