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
+320
View File
@@ -0,0 +1,320 @@
test_cases:
-
input:
bytes: [ 0x00, 0x88, 0x2c, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp x0, p0.b"
-
input:
bytes: [ 0x00, 0x88, 0x6c, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp x0, p0.h"
-
input:
bytes: [ 0x00, 0x88, 0xac, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp x0, p0.s"
-
input:
bytes: [ 0x00, 0x88, 0xec, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp x0, p0.d"
-
input:
bytes: [ 0xff, 0x89, 0x2c, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp xzr, p15.b"
-
input:
bytes: [ 0xff, 0x89, 0x6c, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp xzr, p15.h"
-
input:
bytes: [ 0xff, 0x89, 0xac, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp xzr, p15.s"
-
input:
bytes: [ 0xff, 0x89, 0xec, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp xzr, p15.d"
-
input:
bytes: [ 0xff, 0x81, 0x6c, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp z31.h, p15.h"
-
input:
bytes: [ 0xff, 0x81, 0x6c, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp z31.h, p15.h"
-
input:
bytes: [ 0xff, 0x81, 0xac, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp z31.s, p15.s"
-
input:
bytes: [ 0xff, 0x81, 0xac, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp z31.s, p15.s"
-
input:
bytes: [ 0xff, 0x81, 0xec, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp z31.d, p15.d"
-
input:
bytes: [ 0xff, 0x81, 0xec, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp z31.d, p15.d"
-
input:
bytes: [ 0xdf, 0xbc, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "movprfx z31, z6"
-
input:
bytes: [ 0xff, 0x81, 0xec, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "incp z31.d, p15.d"
-
input:
bytes: [ 0x00, 0x88, 0x2c, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp x0, p0.b"
-
input:
bytes: [ 0x00, 0x88, 0x6c, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp x0, p0.h"
-
input:
bytes: [ 0x00, 0x88, 0xac, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp x0, p0.s"
-
input:
bytes: [ 0x00, 0x88, 0xec, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp x0, p0.d"
-
input:
bytes: [ 0xff, 0x89, 0x2c, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp xzr, p15.b"
-
input:
bytes: [ 0xff, 0x89, 0x6c, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp xzr, p15.h"
-
input:
bytes: [ 0xff, 0x89, 0xac, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp xzr, p15.s"
-
input:
bytes: [ 0xff, 0x89, 0xec, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp xzr, p15.d"
-
input:
bytes: [ 0xff, 0x81, 0x6c, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp z31.h, p15.h"
-
input:
bytes: [ 0xff, 0x81, 0x6c, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp z31.h, p15.h"
-
input:
bytes: [ 0xff, 0x81, 0xac, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp z31.s, p15.s"
-
input:
bytes: [ 0xff, 0x81, 0xac, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp z31.s, p15.s"
-
input:
bytes: [ 0xff, 0x81, 0xec, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp z31.d, p15.d"
-
input:
bytes: [ 0xff, 0x81, 0xec, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp z31.d, p15.d"
-
input:
bytes: [ 0xdf, 0xbc, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "movprfx z31, z6"
-
input:
bytes: [ 0xff, 0x81, 0xec, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "incp z31.d, p15.d"