[Top][All Lists]

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

Re: [libunwind] unwinding through dynamically modified code?

From: Young, Mark
Subject: Re: [libunwind] unwinding through dynamically modified code?
Date: Mon, 15 Mar 2004 13:41:30 -0800
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.2.1) Gecko/20030711

A disjoint code fragment that is jumped into can by described as performing a sequence of state save operations at instruction offset 0, as if the separate function entry state save instructions had immediately preceded the fragment. Given any possible ip in the fragment, the unwinder sees that the state save has already occurred and yet it has the complete recipe to reconstruct the previous frame state since it does so without looking at the code.
--Mark Young

Todd L Miller wrote:

        I can force the remote process to load libunwind and insert calls
to _U_dyn_register() relatively easily.  Perhaps I wasn't clear, but my
concern was that this would not be sufficient in the case where I'm not
registering a function, but instead a (series of) code fragment(s).  Will
libunwind handle this scenario?  (Would it if the modifications were all
happening locally?)

- Todd L Miller
libunwind mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]