Results 1 to 2 of 2
Hi All, I have library named libtest.so I need to get all the method names from the library with the return type. By using -nm linux command i could get ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-24-2011 #1
- Join Date
- Oct 2011
How to View Methods inside .so library file
I have library named libtest.so
I need to get all the method names from the library with the return type.
By using -nm linux command i could get the method names but not the return type of the method.
Is there any other mrthod to get the method names.
- 10-24-2011 #2
As far as I know, there is not. At the level of a library file, everything is in Assembly, which can only return numbers from functions, and such a number may be treated as a number or as a pointer to memory.
If the library was compiled with debugging symbols (the -g flag to gcc), you may be able to use gdb or a decompiler of some sort to deconstruct it, but these are non-standard.