I have been searching quite a lot, but haven't found a way to extract function prototype, atleast the argument types and return type from an ELF executable file. Using GNU BinUtils or any other method.
I have tried using different options in readelf, nm and objdump, they list the symbols and function names, but how to know a function's argument types and return type?
I have a gut feeling that there should be a way to do it, can anyone throw some light on this?
Host: Windows 7
Target: elf for PowerPC architecture