[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libunwind] unwinding through dynamically modified code?
From: |
David Mosberger |
Subject: |
Re: [libunwind] unwinding through dynamically modified code? |
Date: |
Mon, 15 Mar 2004 15:00:20 -0800 |
>>>>> On Mon, 15 Mar 2004 16:43:30 -0600 (CST), Todd L Miller <address@hidden>
>>>>> said:
Todd> Each of these code fragments will be called from only
Todd> one place. I do know the _register_ frame state, but not, for
Todd> instance, where the original SP is stored. That information
Todd> can be extracted from the unwind information for the function
Todd> (in which the jump to the code fragment was inserted), but I
Todd> want to use libunwind's decoder to do so.
Hmmh, you should be able to use the ALIAS operator to say the frame
state looks like at IP such-and-such, and then provide additional
unwind directives to patch things up the way you need them to be.
Todd> Given that the recommended course of action seems to
Todd> be to create a "dummy region" with the unwind information from
Todd> the function (in which the jump to the code fragment was
Todd> inserted), how can I use libunwind to get this information?
Todd> E.g., can I hand it an address and ask it for the
Todd> unw_region_info_t(s) describing it?
There is no such facility at the moment. Can you make things work
with the ALIAS directive?
--david
- [libunwind] unwinding through dynamically modified code?, Todd L Miller, 2004/03/15
- Re: [libunwind] unwinding through dynamically modified code?, David Mosberger, 2004/03/15
- Re: [libunwind] unwinding through dynamically modified code?, Todd L Miller, 2004/03/15
- Re: [libunwind] unwinding through dynamically modified code?, David Mosberger, 2004/03/15
- Re: [libunwind] unwinding through dynamically modified code?, Young, Mark, 2004/03/15
- Re: [libunwind] unwinding through dynamically modified code?, David Mosberger, 2004/03/15
- Re: [libunwind] unwinding through dynamically modified code?, Keith Owens, 2004/03/15
- Re: [libunwind] unwinding through dynamically modified code?, David Mosberger, 2004/03/15
- Re: [libunwind] unwinding through dynamically modified code?, Todd L Miller, 2004/03/15
- Re: [libunwind] unwinding through dynamically modified code?,
David Mosberger <=
- Re: [libunwind] unwinding through dynamically modified code?, Todd L Miller, 2004/03/15
- Re: [libunwind] unwinding through dynamically modified code?, David Mosberger, 2004/03/15
- Re: [libunwind] unwinding through dynamically modified code?, Todd L Miller, 2004/03/24
- Re: [libunwind] unwinding through dynamically modified code?, David Mosberger, 2004/03/25
- Re: [libunwind] unwinding through dynamically modified code?, Todd L Miller, 2004/03/25
- Re: [libunwind] unwinding through dynamically modified code?, David Mosberger, 2004/03/25
- Re: [libunwind] unwinding through dynamically modified code?, Todd L Miller, 2004/03/25
- Re: [libunwind] unwinding through dynamically modified code?, David Mosberger, 2004/03/25
- Re: [libunwind] unwinding through dynamically modified code?, Todd L Miller, 2004/03/26
- Re: [libunwind] unwinding through dynamically modified code?, David Mosberger, 2004/03/26