|
From: Elmo J. <elm...@ya...> - 2008-04-23 05:19:43
|
Hi,
I want to trace memory accesses made by a particular function (and all other functions that it calls) but I'm not sure that this works: I see that lackey allows tracing function calls and memory accesses independently. Would it work to record the stack pointer when the function gets called, and emit loads/stores as long as the stack pointer remains less than the recorded value?
Thanks,
E
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
|
From: Nicholas N. <nj...@cs...> - 2008-04-24 06:11:48
|
On Tue, 22 Apr 2008, Elmo Jitoh wrote: > I want to trace memory accesses made by a particular function (and all > other functions that it calls) but I'm not sure that this works: I see > that lackey allows tracing function calls and memory accesses > independently. Would it work to record the stack pointer when the function > gets called, and emit loads/stores as long as the stack pointer remains > less than the recorded value? Yes! I think so. Nick |