Displaying 2 results from an estimated 2 matches for "sunw_ldynsym".
2008 Oct 21
5
Why could I get function names from a stripped exec?
Hello, all experts.
When I use pid provider, my Dscript with -F option output the codepath with flowindent as you know,
e.g.
-> main
-> f1
-> f2
however I realized that the exec file I used at that time was stripped.
Does anyone know the reason why I could see the function names?
Thanks in advance.
--
This message posted from opensolaris.org
2007 Apr 16
0
[Fwd: Re: Getting the function names?]
...or posting blind
>> (and I''ll get myself signed up for dtrace-discuss ASAP)...
>>
>> I believe that dtrace is using libproc to map those addresses to names, and
>> in that context, local function symbols were not available until
>>
>> PSARC 2006/526 SHT_SUNW_LDYNSYM - default local symbol addition
>> 4934427 runtime linker should load up static symbol names visible to dladdr()
>>
>> which went into Nevada build 50, back in October. However, they didn''t really become
>> useful until
>>
>> 6475315 libproc should tak...