This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
dlsym on non-exported symbols
- From: Ionut Ichim <ionutsz at yahoo dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 12 Mar 2003 05:19:33 -0800 (PST)
- Subject: dlsym on non-exported symbols
Hi,
Shouldn't dlsym fail if it is asked to return the address of a
non-exported symbol from a shared library? (.so)
If not, is there any way to prevent users of a library calling a
not-exported function?
(the lib was created using ld's --retain-symbols-file option. Of
course, the function I'm talking about was not listed in the exports
file).
Pointing to a doc that says why/how to do it would do.
Thanks,
Ionut Ichim
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com