I’ve found many mips 32 bit decompilers. I’m trying to decompile a simple 64bit elf from mips to c. Ida doesn’t seem to have much of a problem with disassembly. After some fixings I tried the decompiler and found ida only supports 32 bits. Then I went down the google rabbit hole.

Does anyone know of a 64bit mips decompiler?

4 Answers 4



Ghidra supports a lot of processors including mips64

  • Does it do decompilation as well most support 64bit disassembly but not decompilation. Commented Apr 21, 2021 at 13:52
  • @PeterRobertson Ghidra is setup such that any processor supported will have disassembly, decompilation, and other analysis tools/scripts included (this goes for their release at least, out of tree processors may have only added support for disassembly)
    – mumbel
    Commented Apr 21, 2021 at 23:09

Mumbel is correct, Ghidra supports decompilation of MIPS64 binaries; see "What Processors are Currently Supported" in their FAQ.

Here is a screenshot of decompilation of the main() function of readelf compiled to target MIPS64 architecture:

mips64-readelf main decompilation in Ghidra



Reko is a binary decompiler that supports a lot of processors, including Mips64. Feel free to reach out to us for assistance on https://gitter.im/uxmal/reko.


Ghidra was the way to go, no other reverse engineering software had 64 bit MIPS. Reko came close and when I mailed that team they said they would implement it in the coming days. IDA only disassembles partly and cant decompile. Ret from Avast 32 bit only as well. Once JDK 11 was installed disassembled and decompiled the .o elf easily. There is some problem with the dwarf analyzer not working or doing the symlinks, so ill have to find a fix for that. I don't love Ghidra but I think I'm starting too.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.