diff options
Diffstat (limited to 'capstone/suite/test_mc.sh')
-rwxr-xr-x | capstone/suite/test_mc.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/capstone/suite/test_mc.sh b/capstone/suite/test_mc.sh new file mode 100755 index 000000000..5430f5f54 --- /dev/null +++ b/capstone/suite/test_mc.sh @@ -0,0 +1,15 @@ +#!/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 |