From owner-freebsd-hackers Thu Mar 9 17:20:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 758) id 2439237B92B; Thu, 9 Mar 2000 17:20:31 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 20BEC2E8155; Thu, 9 Mar 2000 17:20:31 -0800 (PST) (envelope-from kris@hub.freebsd.org) Date: Thu, 9 Mar 2000 17:20:31 -0800 (PST) From: Kris Kennaway To: Alfred Perlstein Cc: Oscar Bonilla , freebsd-hackers@FreeBSD.ORG Subject: Re: inner workings of the C compiler In-Reply-To: <20000308163057.W14279@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 8 Mar 2000, Alfred Perlstein wrote: > I'm pretty sure this can be done a hell of a lot easier by using shared > libraries and using the enviornment variables LD_LIBRARY_PATH and > LD_PRELOAD, see the rtld manpage for more help. Yes, I've done this when trying to track down buffer overflows in libc..stick them in their own directory and use LD_LIBRARY_PATH, which tells the dynamic linker where to search. Kris ---- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message