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
+90
View File
@@ -0,0 +1,90 @@
test_cases:
-
input:
bytes: [ 0x00, 0x80, 0x80, 0xe5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "st1d { z0.d }, p0, [x0, z0.d, uxtw]"
-
input:
bytes: [ 0x00, 0xc0, 0x80, 0xe5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "st1d { z0.d }, p0, [x0, z0.d, sxtw]"
-
input:
bytes: [ 0x00, 0x80, 0xa0, 0xe5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "st1d { z0.d }, p0, [x0, z0.d, uxtw #3]"
-
input:
bytes: [ 0x00, 0xc0, 0xa0, 0xe5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "st1d { z0.d }, p0, [x0, z0.d, sxtw #3]"
-
input:
bytes: [ 0x00, 0xa0, 0x80, 0xe5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "st1d { z0.d }, p0, [x0, z0.d]"
-
input:
bytes: [ 0x00, 0xa0, 0xa0, 0xe5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "st1d { z0.d }, p0, [x0, z0.d, lsl #3]"
-
input:
bytes: [ 0xff, 0xbf, 0xdf, 0xe5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "st1d { z31.d }, p7, [z31.d, #248]"
-
input:
bytes: [ 0x00, 0xbc, 0xc0, 0xe5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "st1d { z0.d }, p7, [z0.d]"
-
input:
bytes: [ 0x00, 0xbc, 0xc0, 0xe5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "st1d { z0.d }, p7, [z0.d]"