For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > March 2006 > Re: overriding functions with functions that call the original









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: overriding functions with functions that call the original
Paul Pluzhnikov

2006-03-21, 10:04 pm

Jordan Abel <random832@gmail.com> writes:

>
> So that you can dlopen("libc.so")


And the *good* reason why you should be able to dlopen("libc.so") is?

Do you also want the loader to guess that when I do
dlopen("foobaz.so") it should dlopen() "foobar.so" instead, because
the latter is present and former isn't -- clearly I made a typo
(i.e. "do what I mean, not what I say").

> Why doesn't ld-linux.so.2 have the ability to parse linker scripts?


Because no one believes this is necessary or desirable (except you,
that is).

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com