[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 13:48:34 -0800

>>>>> On Mon, 15 Mar 2004 14:17:02 -0600 (CST), Todd L Miller <address@hidden> 
>>>>> said:

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

It should.  libunwind simply uses the IP to locate the unwind info.
If the unwind info for a given IP is correct, the right thing will
happen.  libunwind doesn't really have a concept of "function" of its
own (it just looks at code ranges).


reply via email to

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