[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release
From: |
Paul Pluzhnikov |
Subject: |
Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"? |
Date: |
Wed, 23 Mar 2011 15:00:22 -0700 |
On Wed, Mar 23, 2011 at 1:47 PM, Joe Damato <address@hidden> wrote:
>> 2. For prelinked libraries, the _r_debug.r_map list does not give you
>> access to the info you need: l_map->l_addr becomes 0 for all images
>> that are loaded at their desired address!
>
> l_addr is the difference between the on disk address in PT_LOAD and
> the in memory address of the library.
Yes.
> AFAIK, you will have to parse
> some of the headers of the library (on disk)
You don't suggest we do that during the unwind, do you?
Going to disk during dl_debug_state is possible, but less than ideal.
> to figure out the base load address. there's no way around that.
Sure there is.
Glibc has that info, and dl_iterate_phdr uses it without going to disk. It's
too bad glibc considers that info private and none of our business.
Cheers,
--
Paul Pluzhnikov
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, (continued)
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Paul Pluzhnikov, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Paul Pluzhnikov, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Lassi Tuura, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Paul Pluzhnikov, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Lassi Tuura, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Paul Pluzhnikov, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Lassi Tuura, 2011/03/22
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Joe Damato, 2011/03/23
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Arun Sharma, 2011/03/23
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Joe Damato, 2011/03/23
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?,
Paul Pluzhnikov <=
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Arun Sharma, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Lassi Tuura, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Konstantin Belousov, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Arun Sharma, 2011/03/21
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Lassi Tuura, 2011/03/22
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Lassi Tuura, 2011/03/22
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Arun Sharma, 2011/03/22
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Konstantin Belousov, 2011/03/22
- Re: [Libunwind-devel] Bug fixes in libunwind git = make another "release"?, Lassi Tuura, 2011/03/22