Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2001 13:41:40 -0700
From:      Seth Kingsley <seth.kingsley@windriver.com>
To:        Kevin Day <toasty@temphost.dragondata.com>
Cc:        Farooq Mela <fmela0@sm.socccd.cc.ca.us>, hackers@FreeBSD.ORG
Subject:   Re: Access to symbol table(including dynamics) at runtime
Message-ID:  <20010608134140.A53292@meow.osd.bsdi.com>
In-Reply-To: <200106081717.MAA43035@temphost.dragondata.com>; from toasty@temphost.dragondata.com on Fri, Jun 08, 2001 at 12:17:41PM -0500
References:  <no.id> <200106081717.MAA43035@temphost.dragondata.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010608134140.A53292>