How to get line number for native crash in Android?

557 views Asked by At

I have a native library and a backtrace from internal crash reporting tool that provides me exact addresses where the crash has occurred.

I used addr2line tool and found that it was our own native library where crash is occurring. However, I am just able to get function name in which the crash is occurring and not the exact line number since we ship library after stripping debug symbols.

I have access to unstripped .so of the same library where I can easily get line number. The only problem is I have to map the addresses in stripped library to corresponding addresses in unstripped library.

Is this possible to do?

0

There are 0 answers