NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Mapping function address to name



On Apr 26, 2012, at 12:48 PM, Sad Clouds wrote:
> Hi, I am trying to find a way to map function addresses to names,
> during runtime for the following:
> 
> - Shared library functions
> - Any Functions mapped with dlopen/dlsym
> 
> Any suggestions? Thanks.

You're looking for dladdr().

Regards,
-- 
-Chuck



Home | Main Index | Thread Index | Old Index