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, 0x40, 0x20, 0x84 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "prfw pldl1keep, p0, [x0, z0.s, uxtw #2]"
-
input:
bytes: [ 0x45, 0x55, 0x75, 0x84 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "prfw pldl3strm, p5, [x10, z21.s, sxtw #2]"
-
input:
bytes: [ 0xa7, 0x4d, 0x28, 0xc4 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "prfw #7, p3, [x13, z8.d, uxtw #2]"
-
input:
bytes: [ 0x00, 0x40, 0x60, 0xc4 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "prfw pldl1keep, p0, [x0, z0.d, sxtw #2]"
-
input:
bytes: [ 0x45, 0xd5, 0x75, 0xc4 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "prfw pldl3strm, p5, [x10, z21.d, lsl #2]"
-
input:
bytes: [ 0xef, 0xff, 0x00, 0x85 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "prfw #15, p7, [z31.s]"
-
input:
bytes: [ 0xef, 0xff, 0x1f, 0x85 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "prfw #15, p7, [z31.s, #124]"
-
input:
bytes: [ 0xef, 0xff, 0x00, 0xc5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "prfw #15, p7, [z31.d]"
-
input:
bytes: [ 0xef, 0xff, 0x1f, 0xc5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "prfw #15, p7, [z31.d, #124]"