欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

GNU Binutils

程序员文章站 2022-07-14 12:37:54
...

GNU Binutils

http://www.gnu.org/software/binutils/

The GNU Binutils are a collection of binary tools. The main ones are:
ld - the GNU linker. (链接器)
as - the GNU assembler. (汇编器)

demangle:网络解码,符号重组,符号名称解码

But they also include:
addr2line - Converts addresses into filenames and line numbers. (将地址转换为文件名和行号。)
ar - A utility for creating, modifying and extracting from archives. (用于创建、修改和从 archives 中提取的实用程序。)
c++filt - Filter to demangle encoded C++ symbols. (还原被 C++ 编译器转换过的名字。)
dlltool - Creates files for building and using DLLs. (创建用于构建和使用 DLL 的文件。)
gold - A new, faster, ELF only linker, still in beta test. (一个新的、更快的、仅 ELF 的链接器,仍处于 beta 测试中。)
gprof - Displays profiling information. (显示分析信息。)
nlmconv - Converts object code into an NLM. (将目标代码转换为 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. (显示来自任何 ELF 格式目标文件的信息。)
size - Lists the section sizes of an object or archive file. (列出目标或归档文件的 section sizes。)
strings - Lists printable strings from files. (列出文件中的可打印字符串。)
strip - Discards symbols. (放弃符号。)
windmc - A Windows compatible message compiler. (Windows 兼容的消息编译器。)
windres - A compiler for Windows resource files. (Windows 资源文件的编译器。)

Most of these programs use BFD, the Binary File Descriptor library, to do low-level manipulation. Many of them also use the opcodes library to assemble and disassemble machine instructions.
这些程序大多数使用 BFD (二进制文件描述符库) 进行低级操作。他们中的许多还使用操作码库来汇编和反汇编机器指令。

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.
Binutils 已移植到大多数主要的 Unix 变体和 Wintel 系统上,它们存在的主要原因是为 GNU 系统 (和 GNU/Linux) 提供了编译和链接程序的便利。

If you plan to do active work on GNU binutils, you can access the development source tree by anonymous git:

git clone git://sourceware.org/git/binutils-gdb.git
anonymous [əˈnɒnɪməs]:adj. 匿名的,无名的,无个性特征的