Nguyen Anh Quynh | 8ba7250 | 2014-11-07 17:24:01 +0800 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | # This script test all architectures by default. |
| 4 | # At the output are all the mismatches between Capstone (CS) & LLVM (MC). |
| 5 | # While most differences coming from the fact that Capstone uses more friendly |
| 6 | # number format, some mismatches might be because Capstone is based on older |
| 7 | # version of LLVM (which should be fixed in the next release) |
| 8 | |
| 9 | find MC/ -name *.cs | ./test_mc.py |
| 10 | |
| 11 | # To test just one architecture, specify the corresponsing dir: |
| 12 | # $ find MC/X86 -name *.cs | ./test_mc.py |
| 13 | |
| 14 | # To test just one input file, run test_mc.py with that file: |
| 15 | # $ ./test_mc.py MC/X86/x86-32-fma3.s.cs |