I think nm
is the tool, but none of the tutorials has helped me solve my problem. Let's say I have a debug built binary and a stack trace where it crashes. The stack trace says something like foo() + 1500
.
I assume the number is bytes of offset in the binary. Correct?
However! There is nothing with precisely this address. The addresses of the symbols are NOT monotonically incrementing in default
,sysv
nor posix
format.
How can I determine where did the crash happen (before the end of which symbol)?