Why addr2line is not able to resolve certain address to function names?

天大地大妈咪最大 提交于 2020-01-05 09:34:44

问题


I have backtraces obtained from executing the command dumpheap -n <PID> <file>. I have to convert these address to function names and line numbers to make these backtraces meaningful. I used addr2line to convert these addresses to function names. This is the command i used addr2line -C -f -e <libname>.so <address>. There are certain places where addr2line gives me $t in the place of function names but gives the filename:linenumber correctly. How should i resolve this '$t' into function name.


回答1:


I found the solution myself. I replaced addr2line with the one provided by android arm-linux-androideabi-addr2line and it worked like charm.



来源:https://stackoverflow.com/questions/20142023/why-addr2line-is-not-able-to-resolve-certain-address-to-function-names

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!