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
+160
View File
@@ -0,0 +1,160 @@
test_cases:
-
input:
bytes: [ 0x00, 0x80, 0x14, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "asrr z0.b, p0/m, z0.b, z0.b"
-
input:
bytes: [ 0x00, 0x80, 0x54, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "asrr z0.h, p0/m, z0.h, z0.h"
-
input:
bytes: [ 0x00, 0x80, 0x94, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "asrr z0.s, p0/m, z0.s, z0.s"
-
input:
bytes: [ 0x00, 0x80, 0xd4, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "asrr z0.d, p0/m, z0.d, z0.d"
-
input:
bytes: [ 0xe5, 0x20, 0xd0, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "movprfx z5.d, p0/z, z7.d"
-
input:
bytes: [ 0x05, 0x80, 0xd4, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "asrr z5.d, p0/m, z5.d, z0.d"
-
input:
bytes: [ 0xe5, 0xbc, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "movprfx z5, z7"
-
input:
bytes: [ 0x05, 0x80, 0xd4, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "asrr z5.d, p0/m, z5.d, z0.d"
-
input:
bytes: [ 0x00, 0x80, 0x14, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "asrr z0.b, p0/m, z0.b, z0.b"
-
input:
bytes: [ 0x00, 0x80, 0x54, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "asrr z0.h, p0/m, z0.h, z0.h"
-
input:
bytes: [ 0x00, 0x80, 0x94, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "asrr z0.s, p0/m, z0.s, z0.s"
-
input:
bytes: [ 0x00, 0x80, 0xd4, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "asrr z0.d, p0/m, z0.d, z0.d"
-
input:
bytes: [ 0xe5, 0x20, 0xd0, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "movprfx z5.d, p0/z, z7.d"
-
input:
bytes: [ 0x05, 0x80, 0xd4, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "asrr z5.d, p0/m, z5.d, z0.d"
-
input:
bytes: [ 0xe5, 0xbc, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "movprfx z5, z7"
-
input:
bytes: [ 0x05, 0x80, 0xd4, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "asrr z5.d, p0/m, z5.d, z0.d"