首页 > 其他 > 详细

GNU Utility

时间:2015-09-25 18:36:55      阅读:302      评论:0      收藏:0      [点我收藏+]

 

以下是从网站http://www.sourceware.org/binutils/摘录过来的:

  • addr2line - Converts addresses into filenames and line numbers.
  • ar - A utility for creating, modifying and extracting from archives.
  • c++filt - Filter to demangle encoded C++ symbols.
  • dlltool - Creates files for building and using DLLs.
  • gold - A new, faster, ELF only linker, still in beta test.
  • gprof - Displays profiling information.
  • nlmconv - Converts object code into an NLM.
  • nm - Lists symbols from object files.
  • objcopy - Copies and translates object files.
  • objdump - Displays information from object files.
  • ranlib - Generates an index to the contents of an archive.
  • readelf - Displays information from any ELF format object file.
  • size - Lists the section sizes of an object or archive file.
  • strings - Lists printable strings from files.
  • strip - Discards symbols.
  • windmc - A Windows compatible message compiler.
  • windres - A compiler for Windows resource files

上面比较重要的有ar, nm, objcopy, objdump, readelf, strip.

ar可以生成static library;

nm可以list symbol of object files;

objcopy可以转换image格式,例如将elf格式转成bin,或者hex;

objdump可以打印出object files中的可重定位的symbol;

readelf可以从elf中打印出symbol和section的很多信息;

strip可以删除ELF file中的symbol或者section信息。

 

GNU Utility

原文:http://www.cnblogs.com/ironx/p/4838893.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!