-
December 31st, 2012, 04:48 AM
#1
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
-
December 31st, 2012, 07:46 AM
#2
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
-
January 1st, 2013, 06:43 AM
#3
Re: list dll library functions signature at runtime
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|