I've written a simple program that all it does is call a function called meller1, which calls to meller2, and so on until some function calls free and crashes. When running gdb backtrace on this program with the coredump file, I receive:
My question is, how does gdb bt knows that free is taken from /lib/libc.so.6? Is there a manual way I could do it myself given a Coredump file and the executable itself? Thanks.