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

41 lines
922 B
YAML

test_cases:
-
input:
bytes: [ 0x15, 0x58, 0x75, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "addspl x21, x21, #0"
-
input:
bytes: [ 0xf7, 0x5f, 0x68, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "addspl x23, x8, #-1"
-
input:
bytes: [ 0xff, 0x5b, 0x7f, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "addspl sp, sp, #31"
-
input:
bytes: [ 0x00, 0x5c, 0x60, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "addspl x0, x0, #-32"