I'm looking for a decompiler capable of transforming MIPS machine code into C code. Any suggestions?
Our MIPS processor and microcontroller machine code decompiler allows reverse engineers and security auditors to analyze malicious MIPS programs and audit complex embedded systems.
It is impossible use decompilation for original source code reproduction because original code identifiers, such as variable and function names, are rarely stored in computer code. However, code containing metadata or debugging information may include identifiers.
A decompiler can be useful in some cases for the following purposes: Recovery of lost source code to archive or maintain the code. Debugging programs. Antivirus capability to find vulnerabilities in the program.
Assuming you have a MIPS object file or executable file, you can use objdump from the free Code Sourcery Gnu toolchain.
mips-linux-gnu-objdump -d foo.o > foo.S
You might find this to be useful.
There is JEB, which now supports decompilation of MIPS 32-bit code. The output (pseudo-C) is interactive and can be refactored/modified. There is a free demo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With