nm和objdump之间的区别 [英] Difference between nm and objdump

查看:511
本文介绍了nm和objdump之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从手册上看,objdumpnm具有重叠的功能.

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之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆