mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-06 01:02:08 +00:00
121 lines
2.7 KiB
YAML
121 lines
2.7 KiB
YAML
![]() |
test_cases:
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x20, 0x20, 0x02, 0x9a ]
|
||
|
arch: "CS_ARCH_AARCH64"
|
||
|
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "addpt x0, x1, x2"
|
||
|
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0xff, 0x23, 0x02, 0x9a ]
|
||
|
arch: "CS_ARCH_AARCH64"
|
||
|
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "addpt sp, sp, x2"
|
||
|
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x20, 0x20, 0x02, 0x9a ]
|
||
|
arch: "CS_ARCH_AARCH64"
|
||
|
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "addpt x0, x1, x2"
|
||
|
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x20, 0x3c, 0x02, 0x9a ]
|
||
|
arch: "CS_ARCH_AARCH64"
|
||
|
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "addpt x0, x1, x2, lsl #7"
|
||
|
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0xff, 0x3f, 0x02, 0x9a ]
|
||
|
arch: "CS_ARCH_AARCH64"
|
||
|
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "addpt sp, sp, x2, lsl #7"
|
||
|
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x20, 0x20, 0x02, 0xda ]
|
||
|
arch: "CS_ARCH_AARCH64"
|
||
|
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "subpt x0, x1, x2"
|
||
|
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0xff, 0x23, 0x02, 0xda ]
|
||
|
arch: "CS_ARCH_AARCH64"
|
||
|
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "subpt sp, sp, x2"
|
||
|
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x20, 0x20, 0x02, 0xda ]
|
||
|
arch: "CS_ARCH_AARCH64"
|
||
|
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "subpt x0, x1, x2"
|
||
|
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x20, 0x3c, 0x02, 0xda ]
|
||
|
arch: "CS_ARCH_AARCH64"
|
||
|
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "subpt x0, x1, x2, lsl #7"
|
||
|
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0xff, 0x3f, 0x02, 0xda ]
|
||
|
arch: "CS_ARCH_AARCH64"
|
||
|
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "subpt sp, sp, x2, lsl #7"
|
||
|
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x20, 0x0c, 0x62, 0x9b ]
|
||
|
arch: "CS_ARCH_AARCH64"
|
||
|
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "maddpt x0, x1, x2, x3"
|
||
|
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x20, 0x8c, 0x62, 0x9b ]
|
||
|
arch: "CS_ARCH_AARCH64"
|
||
|
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "msubpt x0, x1, x2, x3"
|