On Thu, 12 Jan 2006, Coywolf Qi Hunt wrote:
quoted
With stripped binaries, you can't really do _anything_. You get a
core-file, and you're screwed.
Are you sure?
I'm sure.
In gdb:
No symbol table is loaded. Use the "file" command.
(gdb) bt
#0 0xb7f16445 in ext2fs_mark_generic_bitmap () from /lib/libext2fs.so.2
Note where the debug info comes from. It comes from the _library_.
So with stripped binary, I still get the backtrace to locate the buggy
function.
No you don't. With the _non-stripped_ library you get the backtrace.
There's no backtrace at all for the binary itself.
Linus