Closed mirh closed 1 month ago
we do not even support it as format.
Edit: i just noticed that is an arch, not a format.
We support XAP architecture. I opened it directly with the Rizin and it's indeed quite broken, though doesnt crash:
[0x00000a20]> pdf
╎╎╎╎ ; CALL XREF from fcn.00000a20 @ +0x20
╭ fcn.00000a20();
│ ╎╎╎╎ 0x00000a20 1400 ld
│ ╎╎╎╎ 0x00000a22 35e0 add
│ ╎╎╎╎ 0x00000a24 846a cmp
│ ╎╎╎╎ 0x00000a26 0002
│ ╭─────< 0x00000a28 f858 bcc
│ │╎╎╎╎ 0x00000a2a 19e1 ld
│ │╎╎╎╎ 0x00000a2c 0076
│ │╎╎╎╎ 0x00000a2e 1a47 ld
│ │╎╎╎╎ 0x00000a30 09fe brx
..
│ ╎╎╎ ; CALL XREF from fcn.000009f2 @ 0x9fe
│ ╎╎╎ ; CALL XREF from fcn.000009f2 @ 0xa18
│ ╎╎╎ ; CALL XREF from fcn.000009ac @ 0x9d2
│ │ │ ╎╎ ; CALL XREF from fcn.00000a4e @ 0xa5a
│ │╎╎ ; CALL XREF from fcn.000009f2 @ 0xa0e
│ ╰─────> 0x00000a82 b5e0 or
│ ││╎ 0x00000a84 0005
│ ││╎ 0x00000a86 2539 st
│ ││╎ ; CALL XREF from fcn.00000a20 @ 0xa90
│ ││╎ 0x00000a88 0005
│ ││╎ 0x00000a8a 140f ld
│ ││╎ 0x00000a8c 0001
│ ││╎ 0x00000a8e 0039
│ ││╎ 0x00000a90 9cf6 bsr
│ ││╎ 0x00000a92 0002
│ ││╭─< 0x00000a94 e022 bra
..
│ │││ ; CODE XREF from fcn.00000a4e @ 0xa62
│ ││ ; CODE XREF from fcn.00000a6c @ 0xa70
│ ││ ; CODE XREF from fcn.00000a20 @ 0xa94
│ │╰─> 0x00000abc 007a
│ │ 0x00000abe 9c48 bsr ; fcn.00000b08
│ │ 0x00000ac0 1318 ld
╰ ╰──> 0x00000ac2 3002 add
[0x00000a20]>
It doesn't crash now but there are few missing opcodes left: https://github.com/rizinorg/rizin/issues/4661
Environment information
To Reproduce
Steps to reproduce the behavior:
Additional context