forked from capstone-engine/capstone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CMake] Architecture definition fix (capstone-engine#2272)
* Enble all archs only if CAPSTONE_USE_ARCH_REGISTRATION=false * Add a test if cstool reaches each disassembler engine. * Move cstool test to sh file.
- Loading branch information
Showing
3 changed files
with
42 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/sh | ||
|
||
cstool -d x64 0x4 | grep "ERROR: invalid assembly code" && | ||
cstool -d arm 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d aarch64 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d alpha 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d mips64 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d ppc64 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d sparc 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d systemz 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d xcore 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d m68k 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d tms320c64x 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d m6811 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d cpu12 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d hd6309 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d hcs08 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d evm 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d 6502 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d 65c02 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d w65c02 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d 65816 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d wasm 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d bpf 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d ebpf 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d riscv64 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d sh 0x1 | grep "ERROR: invalid assembly code" && | ||
cstool -d tc162 0x1 | grep "ERROR: invalid assembly code" | ||
|