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

401 lines
8.6 KiB
YAML

test_cases:
-
input:
bytes: [ 0xe0, 0xe7, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0"
-
input:
bytes: [ 0xe0, 0xe7, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0"
-
input:
bytes: [ 0xe0, 0xe7, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0"
-
input:
bytes: [ 0xe0, 0xe7, 0x3f, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, all, mul #16"
-
input:
bytes: [ 0x00, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, pow2"
-
input:
bytes: [ 0x20, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, vl1"
-
input:
bytes: [ 0x40, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, vl2"
-
input:
bytes: [ 0x60, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, vl3"
-
input:
bytes: [ 0x80, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, vl4"
-
input:
bytes: [ 0xa0, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, vl5"
-
input:
bytes: [ 0xc0, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, vl6"
-
input:
bytes: [ 0xe0, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, vl7"
-
input:
bytes: [ 0x00, 0xe5, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, vl8"
-
input:
bytes: [ 0x20, 0xe5, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, vl16"
-
input:
bytes: [ 0x40, 0xe5, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, vl32"
-
input:
bytes: [ 0x60, 0xe5, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, vl64"
-
input:
bytes: [ 0x80, 0xe5, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, vl128"
-
input:
bytes: [ 0xa0, 0xe5, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, vl256"
-
input:
bytes: [ 0xc0, 0xe5, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, #14"
-
input:
bytes: [ 0x80, 0xe7, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "decb x0, #28"
-
input:
bytes: [ 0xe0, 0xe7, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0"
-
input:
bytes: [ 0xe0, 0xe7, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0"
-
input:
bytes: [ 0xe0, 0xe7, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0"
-
input:
bytes: [ 0xe0, 0xe7, 0x3f, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, all, mul #16"
-
input:
bytes: [ 0x00, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, pow2"
-
input:
bytes: [ 0x20, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, vl1"
-
input:
bytes: [ 0x40, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, vl2"
-
input:
bytes: [ 0x60, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, vl3"
-
input:
bytes: [ 0x80, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, vl4"
-
input:
bytes: [ 0xa0, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, vl5"
-
input:
bytes: [ 0xc0, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, vl6"
-
input:
bytes: [ 0xe0, 0xe4, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, vl7"
-
input:
bytes: [ 0x00, 0xe5, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, vl8"
-
input:
bytes: [ 0x20, 0xe5, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, vl16"
-
input:
bytes: [ 0x40, 0xe5, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, vl32"
-
input:
bytes: [ 0x60, 0xe5, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, vl64"
-
input:
bytes: [ 0x80, 0xe5, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, vl128"
-
input:
bytes: [ 0xa0, 0xe5, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, vl256"
-
input:
bytes: [ 0xc0, 0xe5, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, #14"
-
input:
bytes: [ 0x80, 0xe7, 0x30, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "decb x0, #28"