本文介绍了nm和objdump之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从手册上看,objdump
和nm
具有重叠的功能.
Looking at the manuals, objdump
and nm
have overlapping features.
您何时会使用每一个?每个命令的初衷是什么?
When would you use each one? What was the original purpose of each command?
推荐答案
它们没有相似的参数.nm
列出文件符号,而objdump
可以显示许多有关文件的信息. objdump
也可以显示符号,并且在联机帮助页中明确指出:尽管显示格式不同,但这类似于nm程序提供的信息."
They have no similar parameters.nm
lists file symbols, while objdump
can show a lot of different information about files. objdump
can shows symbols too, and it is explicitly noted in the manpage that "This is similar to the information provided by the nm program, although the display format is different."
这篇关于nm和objdump之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!