list dll library functions signature at runtime
Hi All,
I want to know how to list the all the symbols in the shared library(dll or .so file).
I dont want commands like nm or objdump or depends.exe .
I want to get the list of functions available in shared library programmatically at runtime (after calling loadlibrary/dlopen and GetProcAddress/dlsym).
Is there a way to get the complete signature of functions in a shared library??
Please help.
Regards
nrhayyal
Re: list dll library functions signature at runtime
For Windows I have successfully used the information/code found here http://msdn.microsoft.com/en-us/magazine/cc301808.aspx
For Linux I don't know but from googling and getting this page http://www.linuxquestions.org/questi...ary-so-438693/ I would start by reading the source for nm, readelf & objdump
Re: list dll library functions signature at runtime
Quote:
Originally Posted by
S_M_A
For Linux I would start by reading the source for nm, readelf & objdump
Or by running them with strace.