Files
rk35xx-android14/external/capstone/suite/test_mc.sh
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

16 lines
599 B
Bash
Executable File

#!/bin/sh
# This script test all architectures by default.
# At the output are all the mismatches between Capstone (CS) & LLVM (MC).
# While most differences coming from the fact that Capstone uses more friendly
# number format, some mismatches might be because Capstone is based on older
# version of LLVM (which should be fixed in the next release)
find MC/ -name *.cs | ./test_mc.py
# To test just one architecture, specify the corresponsing dir:
# $ find MC/X86 -name *.cs | ./test_mc.py
# To test just one input file, run test_mc.py with that file:
# $ ./test_mc.py MC/X86/x86-32-fma3.s.cs