`Hiding' libc symbols
Daniel Eischen
eischen at pcnet1.pcnet.com
Mon May 5 15:24:43 PDT 2003
On Tue, 6 May 2003, Andrey A. Chernov wrote:
> On Mon, May 05, 2003 at 18:02:42 -0400, Daniel Eischen wrote:
> >
> > Can't you still do what you want even with the standard symbols
> > hidden?
>
> If you mean to produce linker error for replaced standard functions in
> current hiding model (i.e. for threads) - I don't know - threads
> implementation is completely unknown to me to deal with.
The threads libraries don't have any strong symbols that
don't begin with an underscore:
$ nm /usr/obj/.../lib/libc_r/libc_r.so.5 | grep " T "
If libc also doesn't have any strong symbols (at least for
the functions you want to check), then I suppose you can
check the linked application for these (strong) definitions.
I don't know how to do it myself, but this may give you some
idea.
--
Dan Eischen
More information about the freebsd-arch
mailing list