2024-09-07 18:15:29 +06:00

321 lines
7.0 KiB
YAML

test_cases:
-
input:
bytes: [ 0x00, 0x88, 0x2d, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp x0, p0.b"
-
input:
bytes: [ 0x00, 0x88, 0x6d, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp x0, p0.h"
-
input:
bytes: [ 0x00, 0x88, 0xad, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp x0, p0.s"
-
input:
bytes: [ 0x00, 0x88, 0xed, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp x0, p0.d"
-
input:
bytes: [ 0xff, 0x89, 0x2d, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp xzr, p15.b"
-
input:
bytes: [ 0xff, 0x89, 0x6d, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp xzr, p15.h"
-
input:
bytes: [ 0xff, 0x89, 0xad, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp xzr, p15.s"
-
input:
bytes: [ 0xff, 0x89, 0xed, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp xzr, p15.d"
-
input:
bytes: [ 0xff, 0x81, 0x6d, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp z31.h, p15.h"
-
input:
bytes: [ 0xff, 0x81, 0x6d, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp z31.h, p15.h"
-
input:
bytes: [ 0xff, 0x81, 0xad, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp z31.s, p15.s"
-
input:
bytes: [ 0xff, 0x81, 0xad, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp z31.s, p15.s"
-
input:
bytes: [ 0xff, 0x81, 0xed, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp z31.d, p15.d"
-
input:
bytes: [ 0xff, 0x81, 0xed, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp z31.d, p15.d"
-
input:
bytes: [ 0xdf, 0xbc, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "movprfx z31, z6"
-
input:
bytes: [ 0xff, 0x81, 0xed, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decp z31.d, p15.d"
-
input:
bytes: [ 0x00, 0x88, 0x2d, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp x0, p0.b"
-
input:
bytes: [ 0x00, 0x88, 0x6d, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp x0, p0.h"
-
input:
bytes: [ 0x00, 0x88, 0xad, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp x0, p0.s"
-
input:
bytes: [ 0x00, 0x88, 0xed, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp x0, p0.d"
-
input:
bytes: [ 0xff, 0x89, 0x2d, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp xzr, p15.b"
-
input:
bytes: [ 0xff, 0x89, 0x6d, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp xzr, p15.h"
-
input:
bytes: [ 0xff, 0x89, 0xad, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp xzr, p15.s"
-
input:
bytes: [ 0xff, 0x89, 0xed, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp xzr, p15.d"
-
input:
bytes: [ 0xff, 0x81, 0x6d, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp z31.h, p15.h"
-
input:
bytes: [ 0xff, 0x81, 0x6d, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp z31.h, p15.h"
-
input:
bytes: [ 0xff, 0x81, 0xad, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp z31.s, p15.s"
-
input:
bytes: [ 0xff, 0x81, 0xad, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp z31.s, p15.s"
-
input:
bytes: [ 0xff, 0x81, 0xed, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp z31.d, p15.d"
-
input:
bytes: [ 0xff, 0x81, 0xed, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp z31.d, p15.d"
-
input:
bytes: [ 0xdf, 0xbc, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "movprfx z31, z6"
-
input:
bytes: [ 0xff, 0x81, 0xed, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decp z31.d, p15.d"