This project allows you to parse ELF executables and list all defined functions (excluding the entry point function because it is not of interest). Furthermore you can copy the machine code of each function.
This allows you to compile any C/C++ code and easily retrieve the machine code so that it can be used in a cheat code easily by JGecko U's execute assembly code wizard for example.
Here.
Fredrik Fornwall for the ELF Parser library
BullyWiiPlaza for everything else