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
+100
View File
@@ -0,0 +1,100 @@
test_cases:
-
input:
bytes: [ 0x20, 0xc4, 0x5f, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "sabalt z0.h, z1.b, z31.b"
-
input:
bytes: [ 0x20, 0xc4, 0x9f, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "sabalt z0.s, z1.h, z31.h"
-
input:
bytes: [ 0x20, 0xc4, 0xdf, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "sabalt z0.d, z1.s, z31.s"
-
input:
bytes: [ 0x95, 0xbf, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "movprfx z21, z28"
-
input:
bytes: [ 0x35, 0xc4, 0xdf, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "sabalt z21.d, z1.s, z31.s"
-
input:
bytes: [ 0x20, 0xc4, 0x5f, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sabalt z0.h, z1.b, z31.b"
-
input:
bytes: [ 0x20, 0xc4, 0x9f, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sabalt z0.s, z1.h, z31.h"
-
input:
bytes: [ 0x20, 0xc4, 0xdf, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sabalt z0.d, z1.s, z31.s"
-
input:
bytes: [ 0x95, 0xbf, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "movprfx z21, z28"
-
input:
bytes: [ 0x35, 0xc4, 0xdf, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sabalt z21.d, z1.s, z31.s"