zoukankan      html  css  js  c++  java
  • GNU Utility

     

    以下是从网站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信息。

  • 相关阅读:
    Java的特性和优势
    MyBatis
    SpringBoot简介
    Liunx
    MySql简介与入门
    Volatile
    MySQL简介
    Redis
    Spring IoC
    什么是springboot
  • 原文地址:https://www.cnblogs.com/ironx/p/4838893.html
Copyright © 2011-2022 走看看