mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-06 18:31:03 +00:00
30 lines
491 B
YAML
30 lines
491 B
YAML
![]() |
test_cases:
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x05, 0xb0, 0xa0, 0xe1 ]
|
||
|
arch: "ar" # Wrong arch
|
||
|
options: ["arm"]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "mov r11, r5"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x06 ] # Wrong number of bytes.
|
||
|
arch: "aarch64"
|
||
|
options: []
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "mov r1, r6"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0xc2, 0xf3, 0x00, 0x8f ]
|
||
|
arch: "arm"
|
||
|
options: ["thum"] # Wrong mode
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "bxj r2"
|
||
|
|