Merge commit '802798ce3c8baa4697120580f87bc1ee377306d3' as 'external/capstone'
This commit is contained in:
+120
@@ -0,0 +1,120 @@
|
||||
test_cases:
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x20, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cntb x0"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x20, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cntb x0"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x20, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cntb x0"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x2f, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cntb x0, all, mul #16"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0xe0, 0x20, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cntb x0, pow2"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x80, 0xe3, 0x20, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cntb x0, #28"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x20, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cntb x0"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x20, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cntb x0"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x20, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cntb x0"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe0, 0xe3, 0x2f, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cntb x0, all, mul #16"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x00, 0xe0, 0x20, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cntb x0, pow2"
|
||||
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x80, 0xe3, 0x20, 0x04 ]
|
||||
arch: "CS_ARCH_AARCH64"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "cntb x0, #28"
|
||||
Reference in New Issue
Block a user