[lug] Stack trace question
Chan Kar Heng
khchan at cyberdude.com
Fri Aug 18 12:21:28 MDT 2000
y not just rip stuff out from strace source code? hehe!
>>
>> I think I am much closer to finding my answer. If I get the pid I can
>> look at /proc/pid/maps which tells me which modules are loaded and where.
>> Now I just need to get the stack from myfunction() to the top and see
>> where each function lands in the range that I have from /proc/pid/maps. So
>> my question is now only how do
>> I get the stack trace. I need the address. I think I must write an assembly
>> code to walk through the stack.
>>
--------------------------------------------
i don't suffer from stress... i'm a carrier.
More information about the LUG
mailing list