【Tools系列】之GNU Binutils工具集使用介绍
DATE: 2019-2-27
1、GNU Binutils简介和下载
简介: Binutils是GNU Binary Utilities的简写,是一组专门用于处理二进制数据的工具集,主要包括as,ld,addr2line,ar,nm,objdump,size,objcopy,strip,gprof,readelf等。
官方网址: https://www.gnu.org/software/binutils/
获取方式:
(1)FTP:https://ftp.gnu.org/gnu/binutils/
(2)GIT:git clone git://sourceware.org/git/binutils-gdb.git
2、GNU Binutils使用说明
详细文档: https://sourceware.org/binutils/docs-2.32/binutils/index.html
• ar: Create, modify, and extract from archives
• nm: List symbols from object files
• objcopy: Copy and translate object files
• objdump: Display information from object files
• ranlib: Generate index to archive contents
• size: List section sizes and total size
• strings: List printable strings from files
• strip: Discard symbols
• c++filt: Filter to demangle encoded C++ symbols
• cxxfilt: MS-DOS name for c++filt
• addr2line: Convert addresses to file and line
• windmc: Generator for Windows message resources
• windres: Manipulate Windows resources
• dlltool: Create files needed to build and use DLLs
• readelf: Display the contents of ELF format files
• elfedit: Update ELF header and property of ELF files
• Common Options: Command-line options for all utilities
• Selecting the Target System: How these utilities determine the target
• Reporting Bugs: Reporting Bugs
• GNU Free Documentation License: GNU Free Documentation License
• Binutils Index: Binutils Index
3、将Binutils移植到不同架构的方法
https://sourceware.org/binutils/binutils-porting-guide.txt
The binutils have been ported to most major Unix variants as well as Wintel systems, and their main reason for existence is to give the GNU system (and GNU/Linux) the facility to compile and link programs.
Windows平台上的GNU工具集:GnuWin32使用以及windows下gnu makefile编写
4、GNU Binutils实战
待补充
THE END!
本文为博主原创文章,未经博主允许不得转载。若允许转载,请注明来源https://www.cnblogs.com/SoaringLee/,否则保留追究法律责任的权利!
另外,本人提供付费咨询服务并长期承接各类毕设以及外包项目。联系QQ:2963033731。加Q备注:CNBLOG外包
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架