How to convert an ELF executable to C code? The generated C code need not be human-readable
I have an ELF file that I would like to decompile into C code, and make simple changes to the resulting C code and rebuild it into an ELF. The decompiled C code need not be fully human readable. Eg, if variables and function names come out obfuscated, it is okay. Which tools can I use to accomplish this on Linux? PS: If decompiling to C is not possible or is not easy, I'm willing to consider decompiling to assembly language, though tweaking the assembly source will be very difficult for me. UPDATE: You may assume that I'm using the following C program to get my a.out ELF. Now, assume further