how to add a new glibc symbol ?

Roger Oberholtzer roger
Mon May 17 11:56:23 PDT 2004


On Wed, 3 Dec 2003 09:19:48 +0100
Roger Oberholtzer <roger at opq.se> wrote:

> 
> 
> The Linux program loader will load a DSO (libxx.so) specified in an
> environment variable when an application starts. This would allow you to
> make a dummy library to provide the missing label. I always thought this
> was both a neat and a dangerous feature. I believe it it the very first
> thing loaded, so it should be available to libc.
> 
> Let me know if you are interested and I will relocate the name of the
> environment variable. It was something like LD_PRELOAD=libxyx.so.

Oddly, my memory was right. Here is a simple intro:

	http://www.uberhip.com/people/godber/interception/html/slide_5.html

-- 
+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer          ?   E-mail: roger at opq.se        ?
? OPQ Systems AB             ?      WWW: http://www.opq.se/  ?
? Erik Dahlbergsgatan 41-43  ?    Phone: Int + 46 8   314223 ?
? 115 34 Stockholm           ?   Mobile: Int + 46 733 621657 ?
? Sweden                     ?      Fax: Int + 46 8   302602 ?
+????????????????????????????+???????????????????????????????+



More information about the Linux-users mailing list