NationalSecurityAgency / ghidra

Ghidra is a software reverse engineering (SRE) framework
https://www.nsa.gov/ghidra
Apache License 2.0
52.13k stars 5.91k forks source link

Some switch tables fail to disassemble in ARMv4a/THUMB in a GBA game #7206

Open H-A-M-G-E-R opened 1 week ago

H-A-M-G-E-R commented 1 week ago

image decompiling metroid fusion https://github.com/H-A-M-G-E-R/mf

H-A-M-G-E-R commented 1 week ago

image all of the addresses should be marked as switch cases, but instead some of them are labelled as LAB or DAT, and the DAT_'s mean that the disassembler doesn't disassemble them...