Skip to content

Commit

Permalink
Mark M68k tesst broken.
Browse files Browse the repository at this point in the history
This test is broken. The reason is that Rizin can't distinguish
CPU models. Each M68k model has a different address mask (32-24 bits).
It defaults to one which has only 24bits.
Hence, the subi.l instruction decodes to
'subi.l 0x15b119, d0' instead of 'subi.l 0x8015b119, d0'
Should be fixable with RzArch (if anyone is still intereses).
See: rizinorg#4334
  • Loading branch information
Rot127 committed Oct 6, 2024
1 parent 695b28a commit d40ba92
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/db/formats/elf/m68k
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
NAME=ELF: m68k.elf
BROKEN=1
FILE=bins/elf/analysis/busybox.m68k
CMDS=<<EOF
# This test is broken. The reason is that Rizin can't distinguish
# CPU models. Each M68k model has a different address mask (32-24 bits).
# It defaults to one which has only 24bits.
# Hence, the subi.l instruction decodes to
# `subi.l 0x15b119, d0` instead of `subi.l 0x8015b119, d0`
# Should be fixable with RzArch (if anyone is still intereses).
# See: https://github.com/rizinorg/rizin/issues/4334
f sym.init @ 0x80001a30
f sym.fini @ 0x800019b0
f sub.exit @ 0x80001450
Expand Down

0 comments on commit d40ba92

Please sign in to comment.