From owner-freebsd-hackers Fri Jun 8 10:17:29 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from temphost.dragondata.com (temphost.dragondata.com [63.167.131.128]) by hub.freebsd.org (Postfix) with ESMTP id 6EAA037B403 for ; Fri, 8 Jun 2001 10:17:26 -0700 (PDT) (envelope-from toasty@temphost.dragondata.com) Received: (from toasty@localhost) by temphost.dragondata.com (8.9.3/8.9.3) id MAA43035; Fri, 8 Jun 2001 12:17:41 -0500 (CDT) (envelope-from toasty) From: Kevin Day Message-Id: <200106081717.MAA43035@temphost.dragondata.com> Subject: Re: Access to symbol table(including dynamics) at runtime To: fmela0@sm.socccd.cc.ca.us (Farooq Mela) Date: Fri, 8 Jun 2001 12:17:41 -0500 (CDT) Cc: hackers@freebsd.org In-Reply-To: from "Farooq Mela" at Jun 08, 2001 10:16:28 AM X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 > > Kevin Day wrote: > > > > Is there a simple way that I can lookup a symbol name(by address) during > > runtime? > > man dlopen. > 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. -- Kevin Day toasty@dragondata.com - kevin@stileproject.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message