Date: Sat, 17 Jan 1998 12:50:21 -0800 From: John Polstra <jdp@polstra.com> To: Amancio Hasty <hasty@rah.star-gate.com> Cc: hackers@FreeBSD.ORG Subject: Re: dladdr hax Message-ID: <199801172050.MAA07904@austin.polstra.com> In-Reply-To: Your message of "Fri, 16 Jan 1998 20:34:41 PST." <199801170434.UAA05162@rah.star-gate.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Thats not a problem . What is a problem is the materialization of > dladdr 8) I worked on it last August at the request of Jeffrey Hsu. I didn't commit it because I wasn't happy with it, and because Jeffrey found a work-around so that he didn't need it. I thought I had lost the changes when I shuffled some disks around recently. But today I found them again. It all works except that it doesn't know the pathname of the main program. If the address being queried is in a shared library, then it knows the path. If you will come up with (or suggest) a solution to finding the pathname of the main program, then I will add that into my version and commit it. And puhleeeze, don't suggest the hack of searching each of the directories in $PATH for argv[0]. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801172050.MAA07904>