Squashed 'external/capstone/' content from commit e46f64fa
git-subtree-dir: external/capstone git-subtree-split: e46f64fadb351e9ecd05264fab26f2772feb0994
This commit is contained in:
@@ -0,0 +1,120 @@
|
||||
test_cases:
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x60, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cnth x0"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x60, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cnth x0"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x60, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cnth x0"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x6f, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cnth x0, all, mul #16"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0xe0, 0x60, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cnth x0, pow2"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x80, 0xe3, 0x60, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cnth x0, #28"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x60, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cnth x0"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x60, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cnth x0"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x60, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cnth x0"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x6f, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cnth x0, all, mul #16"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0xe0, 0x60, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cnth x0, pow2"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x80, 0xe3, 0x60, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cnth x0, #28"
|
||||
Reference in New Issue
Block a user