Merge commit '802798ce3c8baa4697120580f87bc1ee377306d3' as 'external/capstone'

This commit is contained in:
2026-05-11 11:55:07 +02:00
3968 changed files with 2967598 additions and 0 deletions
+120
View File
@@ -0,0 +1,120 @@
test_cases:
-
input:
bytes: [ 0x00, 0x14, 0x2f, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "shrnt z0.b, z0.h, #1"
-
input:
bytes: [ 0xff, 0x17, 0x28, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "shrnt z31.b, z31.h, #8"
-
input:
bytes: [ 0x00, 0x14, 0x3f, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "shrnt z0.h, z0.s, #1"
-
input:
bytes: [ 0xff, 0x17, 0x30, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "shrnt z31.h, z31.s, #16"
-
input:
bytes: [ 0x00, 0x14, 0x7f, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "shrnt z0.s, z0.d, #1"
-
input:
bytes: [ 0xff, 0x17, 0x60, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "shrnt z31.s, z31.d, #32"
-
input:
bytes: [ 0x00, 0x14, 0x2f, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "shrnt z0.b, z0.h, #1"
-
input:
bytes: [ 0xff, 0x17, 0x28, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "shrnt z31.b, z31.h, #8"
-
input:
bytes: [ 0x00, 0x14, 0x3f, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "shrnt z0.h, z0.s, #1"
-
input:
bytes: [ 0xff, 0x17, 0x30, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "shrnt z31.h, z31.s, #16"
-
input:
bytes: [ 0x00, 0x14, 0x7f, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "shrnt z0.s, z0.d, #1"
-
input:
bytes: [ 0xff, 0x17, 0x60, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "shrnt z31.s, z31.d, #32"