Squashed 'external/capstone/' content from commit e46f64fa

git-subtree-dir: external/capstone
git-subtree-split: e46f64fadb351e9ecd05264fab26f2772feb0994
This commit is contained in:
2026-05-11 11:55:07 +02:00
commit 802798ce3c
3968 changed files with 2967598 additions and 0 deletions
+160
View File
@@ -0,0 +1,160 @@
test_cases:
-
input:
bytes: [ 0xff, 0x1f, 0x0c, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sabd z31.b, p7/m, z31.b, z31.b"
-
input:
bytes: [ 0xff, 0x1f, 0x4c, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sabd z31.h, p7/m, z31.h, z31.h"
-
input:
bytes: [ 0xff, 0x1f, 0x8c, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sabd z31.s, p7/m, z31.s, z31.s"
-
input:
bytes: [ 0xff, 0x1f, 0xcc, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sabd z31.d, p7/m, z31.d, z31.d"
-
input:
bytes: [ 0xc4, 0x3c, 0xd0, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "movprfx z4.d, p7/z, z6.d"
-
input:
bytes: [ 0xe4, 0x1f, 0xcc, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sabd z4.d, p7/m, z4.d, z31.d"
-
input:
bytes: [ 0xc4, 0xbc, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "movprfx z4, z6"
-
input:
bytes: [ 0xe4, 0x1f, 0xcc, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sabd z4.d, p7/m, z4.d, z31.d"
-
input:
bytes: [ 0xff, 0x1f, 0x0c, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sabd z31.b, p7/m, z31.b, z31.b"
-
input:
bytes: [ 0xff, 0x1f, 0x4c, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sabd z31.h, p7/m, z31.h, z31.h"
-
input:
bytes: [ 0xff, 0x1f, 0x8c, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sabd z31.s, p7/m, z31.s, z31.s"
-
input:
bytes: [ 0xff, 0x1f, 0xcc, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sabd z31.d, p7/m, z31.d, z31.d"
-
input:
bytes: [ 0xc4, 0x3c, 0xd0, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "movprfx z4.d, p7/z, z6.d"
-
input:
bytes: [ 0xe4, 0x1f, 0xcc, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sabd z4.d, p7/m, z4.d, z31.d"
-
input:
bytes: [ 0xc4, 0xbc, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "movprfx z4, z6"
-
input:
bytes: [ 0xe4, 0x1f, 0xcc, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sabd z4.d, p7/m, z4.d, z31.d"