I've been searching for a tool to create/convert a dynamically linked MIPS32 big-endian ELF binary into a static binary. The 3 tools stated in this StackOverflow question do not support MIPS architecture. I also found CDE but I don't see anything related to MIPS yet, even worse for big-endian. I could try and port Statifier but it seems too costly.
Isn't there a tool for this as of 2018? I could do with emulating MIPS Linux and using that tool if it existed. The ideal, though, would be to statify for MIPS32 while using x86_64 Linux.
This is the output of readelf -d
showing the NEEDED
elements in the dynamic section of the ELF file:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libputil.so]
0x00000001 (NEEDED) Shared library: [libmiddleware.so]
0x00000001 (NEEDED) Shared library: [libdevent.so]
0x00000001 (NEEDED) Shared library: [libcfg.so]
0x00000001 (NEEDED) Shared library: [libmd5.so]
0x00000001 (NEEDED) Shared library: [libev.so.4]
0x00000001 (NEEDED) Shared library: [libdchclient.so]
0x00000001 (NEEDED) Shared library: [libsendreport.so]
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [libdl.so.0]
0x00000001 (NEEDED) Shared library: [libc.so.0]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
I also had a look into Shared Library Injection but couldn't find anything useful, probably because I'm still inexperienced in this area.
Any help is appreciated, thank you in advance!
User contributions licensed under CC BY-SA 3.0