From owner-freebsd-hackers Fri Jun 8 13:42:29 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 19A9237B403 for ; Fri, 8 Jun 2001 13:42:25 -0700 (PDT) (envelope-from sethk@meow.osd.bsdi.com) Received: (from sethk@localhost) by meow.osd.bsdi.com (8.11.3/8.11.2) id f58Kfex53797; Fri, 8 Jun 2001 13:41:40 -0700 (PDT) (envelope-from sethk) Date: Fri, 8 Jun 2001 13:41:40 -0700 From: Seth Kingsley To: Kevin Day Cc: Farooq Mela , hackers@FreeBSD.ORG Subject: Re: Access to symbol table(including dynamics) at runtime Message-ID: <20010608134140.A53292@meow.osd.bsdi.com> References: <200106081717.MAA43035@temphost.dragondata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106081717.MAA43035@temphost.dragondata.com>; from toasty@temphost.dragondata.com on Fri, Jun 08, 2001 at 12:17:41PM -0500 Organization: Wind River Systems X-Operating-System: FreeBSD 4.3-STABLE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jun 08, 2001 at 12:17:41PM -0500, Kevin Day wrote: > I looked at this.. I see how I can dlopen my own executable, and dlsym() > will let me get addresses from symbol names, but how do I do the reverse? I > have an address and need to get the symbol name from it, not vice versa. dladdr(3) of course. Not referenced in dlopen(3) either. -- || Seth Kingsley || Platforms Lab Opps || seth.kingsley@windriver.com || To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message