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

81 lines
1.8 KiB
YAML

test_cases:
-
input:
bytes: [ 0xc0, 0x23, 0xbf, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "ctermeq w30, wzr"
-
input:
bytes: [ 0xe0, 0x23, 0xbe, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "ctermeq wzr, w30"
-
input:
bytes: [ 0xc0, 0x23, 0xff, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "ctermeq x30, xzr"
-
input:
bytes: [ 0xe0, 0x23, 0xfe, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "ctermeq xzr, x30"
-
input:
bytes: [ 0xc0, 0x23, 0xbf, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "ctermeq w30, wzr"
-
input:
bytes: [ 0xe0, 0x23, 0xbe, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "ctermeq wzr, w30"
-
input:
bytes: [ 0xc0, 0x23, 0xff, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "ctermeq x30, xzr"
-
input:
bytes: [ 0xe0, 0x23, 0xfe, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "ctermeq xzr, x30"