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
+200
View File
@@ -0,0 +1,200 @@
test_cases:
-
input:
bytes: [ 0xef, 0x17, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "whilelt p15.b, xzr, x0"
-
input:
bytes: [ 0x0f, 0x14, 0x3f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "whilelt p15.b, x0, xzr"
-
input:
bytes: [ 0xef, 0x07, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "whilelt p15.b, wzr, w0"
-
input:
bytes: [ 0x0f, 0x04, 0x3f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "whilelt p15.b, w0, wzr"
-
input:
bytes: [ 0x0f, 0x14, 0x7f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "whilelt p15.h, x0, xzr"
-
input:
bytes: [ 0x0f, 0x04, 0x7f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "whilelt p15.h, w0, wzr"
-
input:
bytes: [ 0x0f, 0x14, 0xbf, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "whilelt p15.s, x0, xzr"
-
input:
bytes: [ 0x0f, 0x04, 0xbf, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "whilelt p15.s, w0, wzr"
-
input:
bytes: [ 0x0f, 0x04, 0xff, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "whilelt p15.d, w0, wzr"
-
input:
bytes: [ 0x0f, 0x14, 0xff, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "whilelt p15.d, x0, xzr"
-
input:
bytes: [ 0xef, 0x17, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilelt p15.b, xzr, x0"
-
input:
bytes: [ 0x0f, 0x14, 0x3f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilelt p15.b, x0, xzr"
-
input:
bytes: [ 0xef, 0x07, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilelt p15.b, wzr, w0"
-
input:
bytes: [ 0x0f, 0x04, 0x3f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilelt p15.b, w0, wzr"
-
input:
bytes: [ 0x0f, 0x14, 0x7f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilelt p15.h, x0, xzr"
-
input:
bytes: [ 0x0f, 0x04, 0x7f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilelt p15.h, w0, wzr"
-
input:
bytes: [ 0x0f, 0x14, 0xbf, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilelt p15.s, x0, xzr"
-
input:
bytes: [ 0x0f, 0x04, 0xbf, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilelt p15.s, w0, wzr"
-
input:
bytes: [ 0x0f, 0x04, 0xff, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilelt p15.d, w0, wzr"
-
input:
bytes: [ 0x0f, 0x14, 0xff, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "whilelt p15.d, x0, xzr"