NationalSecurityAgency / ghidra

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

nanoMIPS: ISA Support #4126

Open grant-h opened 2 years ago

grant-h commented 2 years ago

nanoMIPS is a mixed length instruction set (16, 32, and 48 bits) designed for embedded devices.

5G MediaTek basebands use this. MediaTek maintains the QEMU TCG backend for this ISA.

ISA Homepage: https://www.mips.com/products/architectures/nanomips/ ISA PDF: https://s3-eu-west-1.amazonaws.com/downloads-mips/I7200/I7200+product+launch/MIPS_nanomips32_ISA_TRM_01_01_MD01247.pdf Toolchain: https://github.com/MediaTek-Labs/nanomips-gnu-toolchain/releases

Related to #3882

dylangerdaly commented 1 year ago

Can we please get an update on this? nanoMIPS is a pretty large ISA now.

@grant-h have you managed to use anything else in the interim?

GhidorahRex commented 1 year ago

I can look into getting the nanoMIPS ISA added in. I have the documentation. MIPS, fortunately, has very nice documentation.

dylangerdaly commented 1 year ago

That would be much appreciated! :heart: Thank you so much!

bkerler commented 1 year ago

Any update on this ?

sultanqasim commented 4 months ago

My team developed a Ghidra module to disassemble and decompile NanoMIPS ISA code: