Howto resolv addresses in *** buffer overflow detected *** Backtrace after the fact
Leszek Matok
Lam at Lam.pl
Tue Dec 11 21:22:00 UTC 2007
Dnia 2007-12-11, o godz. 21:57:57 Hans de Goede <j.w.r.degoede at hhs.nl>
napisał(a):
> I want to convert the backtrace glibc generated into
> one with filenames and line numbers for the addresses of the xfig stack
> frames.
>
> Can anyone tell me how to do this?
I don't know the most appropriate command, but:
(gdb) l *0819b164 (an asterisk and the address)
shows something like:
0x819b164 is in main (lac.c:37).
and then shows the line in context, just like any other "list" invocation.
There should be some command showing just that, but no other command that I
know of (or remember) can resolve the file and line numbers that quickly.
If you know a better way, please share your knowledge :)
Lam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20071211/c78a3ad8/attachment-0002.bin
More information about the devel
mailing list