你的位置:首页 > 软件开发 > 操作系统 > Linux addr2line命令

Linux addr2line命令

发布时间:2015-06-22 00:00:06
一、简介 Addr2line (它是标准的 GNU Binutils 中的一部分)是一个可以将指令的地址和可执行映像转换成文件名、函数名和源代码行数的工具。这种功能对于将跟踪地址转换成更有意义的内容来说简直是太棒了。 二、选项 Usage: addr2line [opti ...

一、简介

Addr2line (它是标准的 GNU Binutils 中的一部分)是一个可以将指令的地址和可执行映像转换成文件名、函数名和源代码行数的工具。这种功能对于将跟踪地址转换成更有意义的内容来说简直是太棒了。

 

二、选项

Usage: addr2line [option(s)] [addr(s)] Convert addresses into line number/file name pairs. If no addresses are specified on the command line, they will be read from stdin The options are: @<file>        Read options from <file> -a --addresses     Show addresses -b --target=<bfdname> Set the binary file format -e --exe=<executable> Set the input file name (default is a.out) -i --inlines      Unwind inlined functions -j --section=<name>  Read section-relative offsets instead of addresses -p --pretty-print   Make the output easier to read for humans -s --basenames     Strip directory names -f --functions     Show function names -C --demangle[=style] Demangle function names -h --help       Display this information -v --version      Display the program's version

原标题:Linux addr2line命令

关键词:linux

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录